Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

seek on start


hi

I tried to use this example ==> http://support.jwplayer.com/customer/portal/articles/1439375
but it didn't work out in here ==> http://www.minikago.com.tr/webtv/maymunlar/bolum/maymunlar-5-bolum#t=60

4 Community Answers

jherrieven

User  
1 rated :

There are a couple issues here.

Firstly as the example page states:

"Note that this functionality works for streaming formats (HLS, RTMP) and in HTML5 mode, but not in Flash mode for progressive (MP4, AAC)."

Since you are using MP4 and Flash this is unlikely to work.

Additionally, given you have an Ads setup, if there was a valid Ad impression this would cause a conflict with the seek/Ad functionality - you'll need to consider that.

I have been able to get this to work using your existing setup by switching the seek code from the "onReady" listener to the "onPlay" listener instead - with a flag to ensure it is only done the first time a "play" is performed.

var playerInstance = jwplayer(...).setup({...});
var doSeekOnce = true;
playerInstance.on('play', function () {
if(doSeekOnce){

if (window.location.hash) {
var offset = window.location.hash.substr(3);
playerInstance.seek(offset);
doSeekOnce=false;
}

}
});

You might be able to make this work going forward, but as I've indicated, you'll need to consider what happens if an Ad is actually loaded, or the MP4 has not yet buffered beyond the seek point.

James Herrieven

===================================================
Powered by Haiku
http://powered-by-haiku.co.uk/
---------------------------------------------------
Tatami for Online Video
http://dev.powered-by-haiku.co.uk/solutions/tatami/
---------------------------------------------------
skype: JamesHerrieven
email: james[at]haiku[dot]co[dot]uk
===================================================

ismailserhatbuga

User  
0 rated :

thank you kindly

ismailserhatbuga

User  
0 rated :

"Note that this functionality works for streaming formats (HLS, RTMP) and in HTML5 mode, but not in Flash mode for progressive (MP4, AAC)."

I must have missed this, thx for pointing that

other than that I've tried on('firstFrame')
it actually worked on my local test but it wasn't stable at other computers (sometimes works sometimes not)

seo plugin

User  
-2 rated :

Hello Web Admin, I noticed that your On-Page SEO is is missing a few factors, for one you do not use all three H tags in your post, also I notice that you are not using bold or italics properly in your SEO optimization. On-Page SEO means more now than ever since the new Google update: Panda. No longer are backlinks and simply pinging or sending out a RSS feed the key to getting Google PageRank or Alexa Rankings, You now NEED On-Page SEO. So what is good On-Page SEO?First your keyword must appear in the title.Then it must appear in the URL.You have to optimize your keyword and make sure that it has a nice keyword density of 3-5% in your article with relevant LSI (Latent Semantic Indexing). Then you should spread all H1,H2,H3 tags in your article.Your Keyword should appear in your first paragraph and in the last sentence of the page. You should have relevant usage of Bold and italics of your keyword.There should be one internal link to a page on your blog and you should have one image with an alt tag that has your keyword....wait there's even more Now what if i told you there was a simple Wordpress plugin that does all the On-Page SEO, and automatically for you? That's right AUTOMATICALLY, just watch this 4minute video for more information at. <a href="http://www.SeoOptimizedRankings.com">Seo Plugin</a>
seo plugin http://www.SeoOptimizedRankings.com/

This question has received the maximum number of answers.