Are you using JW5 or JW6?
Hi,
I’ve the same question of barak shireto, I use JW6 and I need to set the start time of the first movie of a playlist, I’m also wondering if it’s possible to specify the start time of each movie of the playlist.
very well, but I need to specify the value of an attribute into a shortcode. If i see the html source, I’ve this code:
<script type='text/javascript'>if(typeof(jQuery)=="function"){(function($){$.fn.fitVids=function(){}})(jQuery)};jwplayer('jwplayer-1').setup({"aspectratio":null,"width":540,"height":320,"primary":"flash","listbar":{"position":"right"},
"playlist":[{"title":"movie1","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie1.flv"}],"description":"Part I"},
{"title":"movie2","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie2.flv"}],"description":"Part II"},
{"title":"movie3","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie3.flv"}],"description":"Part III"},
{"title":"movie4","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie4.flv"}],"description":"Part IV"},
{"title":"movie5","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie5.flv"}],"description":"Part V"}]});
</script>
If I understand well, the trick is this: http://www.longtailvideo.com/support/jw-player/28855/pseudo-streaming-in-flash the only problem is to write here
[jwplayer player="pnumber" playlistid="id"]
this portion ?start=30.4
of code and to do it for each movie
It is not possible to add that into the shortcode.
ok, than I need to do something like this:
<script type='text/javascript'>if(typeof(jQuery)=="function"){(function($){$.fn.fitVids=function(){}})(jQuery)};jwplayer('jwplayer-1').setup({"aspectratio":null,"width":540,"height":320,"primary":"flash","listbar":{"position":"right"},
"playlist":[{"title":"movies","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie1.flv?start=30.4"}],"description":"Part I"},
{"title":"movie2","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie2.flv?start=90.1"}],"description":"Part II"},
{"title":"movie3","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie3.flv?start=130.4"}],"description":"Part III"},
{"title":"movie4","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie4.flv?start=110.0"}],"description":"Part IV"},
{"title":"movie5","sources":[{"file":"https://portale.aipros.org/wp-content/uploads/2013/11/movie5.flv?start=230.4"}],"description":"Part V"}]});
</script>
where the ?start=time is expressed in seconds?
How can i enter the jw6 api?
To me, the only way to solve the problem is to use the wordpress text editor, and then it’s possible to specify the attributes that you need into a pure HTML code.
The only alternative is to trim the movie.
You can use text mode, and then add any <script> block on the post, and add any API calls there – http://www.longtailvideo.com/support/jw-player/28851/javascript-api-reference