WordPress.org

Support

video start time

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author JW Player

    @longtail-video

    Are you using JW5 or JW6?

    Francesco

    @francesco_5005

    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.

    Plugin Author JW Player

    @longtail-video

    Francesco

    @francesco_5005

    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

    Plugin Author JW Player

    @longtail-video

    It is not possible to add that into the shortcode.

    Francesco

    @francesco_5005

    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?

    barak shireto

    @barak-shireto

    How can i enter the jw6 api?

    Francesco

    @francesco_5005

    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.

    Plugin Author JW Player

    @longtail-video

    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

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘video start time’ is closed to new replies.
Skip to toolbar