Go
Not registered? Sign up!

Bitsontherun

Google Translate
4 posts | return to the JavaScript Interaction forum | get the rss feed for this thread

Jun. 29, 2009JamesR

Hi,

I have an established player and js page that uses js to switch from medium quality to high by saving the current position of the playhead and then loading the alternative version. It works perfectly with lighttpd. We are switching to bitsontherun and were very excited by the quality of the output and the "jerk" free play even over a poor connection. However we can no longer always scrub properly (into unseen video) and our player reload seems to no longer work

we use

player.sendEvent('LOAD', {file:'<? echo $file; ?>', start:tmp2});

after saving the location in the first video and then reload the new one. The playhead moves to the correct time code, but the video restarts at the beginning and the scrubber no longer works.

Using JWP 4.4.192 and setting out streamer flashvar to bitgravity.

Thanks for any thoughts.

James

Jun. 29, 2009lost

No streamer flashvar.  Set type to bitgravity

Jun. 29, 2009JamesR

We think we already did:

var flashvars = {
file: "<? echo $file; ?>",
streamer: "<? echo $streamer; ?>",
backcolor: "000000",
frontcolor: "cc9966",
lightcolor: "ffffcc",
screencolor: "000000",

blah blah....

The change to the latest version of swfobject.js has caused us some problems, but I thought we had this one right. If the type is required how would that be formatted?

===========================
streamer: 'type=bitgravity',
===========================

we currently have:

streamer: 'bitgravity',

which works for the first video, but not the reload.

or did you mean:

type: 'bitgravity',

That does not seem to scrub at all.



James

Jun. 29, 2009lost

Reference: http://developer.longtailvideo.com/trac/wiki/FlashFormats#Streamingservers


var flashvars = {
file: "<? echo $file; ?>",
type: "bitgravity",
backcolor: "000000",
frontcolor: "cc9966",
lightcolor: "ffffcc",
screencolor: "000000",

blah blah....



Or per track.
    <item>
      <title>Wire Attack</title>
      <media:content url="http://bitcast-a.bitgravity.com/botr/SwpclVrI/videos/cdqMNeoG-987.mp4" />
      <media:thumbnail url="http://www.longtailvideo.com/jw/upload/ed2.jpg" />
      <jwplayer:start>26</jwplayer:start>
      <jwplayer:type>bitgravity</jwplayer:type>
      <description>In which the computer world of our actors is being introduced.</description>
      <link>http://orange.blender.org/</link>
    </item>

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.