WordPress.org

Ready to get started?Download WordPress

Forums

JW Player for Flash & HTML5 Video
video start time (10 posts)

  1. barak shireto
    Member
    Posted 8 months ago #

    hi!
    im trying to make a streaming video mp4 to start after 44 minutes.
    i didnt find the shortcode that does it.
    can u please tell me what is the shortcode i need to use?
    thanks.

    http://wordpress.org/plugins/jw-player-plugin-for-wordpress/

  2. JW Player
    Member
    Plugin Author

    Posted 8 months ago #

    Are you using JW5 or JW6?

  3. Francesco
    Member
    Posted 8 months ago #

    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.

  4. JW Player
    Member
    Plugin Author

    Posted 8 months ago #

  5. Francesco
    Member
    Posted 8 months ago #

    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

  6. JW Player
    Member
    Plugin Author

    Posted 8 months ago #

    It is not possible to add that into the shortcode.

  7. Francesco
    Member
    Posted 8 months ago #

    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?

  8. barak shireto
    Member
    Posted 8 months ago #

    How can i enter the jw6 api?

  9. Francesco
    Member
    Posted 8 months ago #

    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.

  10. JW Player
    Member
    Plugin Author

    Posted 8 months ago #

    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

Reply

You must log in to post.

About this Plugin

About this Topic