1573 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 2
+2 more
rahulbist
says

Hi,

I have made a video player which plays different videos on clicking different menu items.

I am streaming the videos from the server.

problem is , Wen I run the player on the site. the first video streams correctly. but, when I click another menu item to load another video. then the video doesn’t streams. it fully loads first and then plays.

why this is happening. my code is timeline based.

any clues? help me please.

thanks in advance.

3072 posts
  • Affiliate Level 3
  • Author Level 6
  • Collector Level 2
  • Weekly Top Seller
+7 more
wickedpixel
says

Put event listeners on the video streams and trace them, to see what and when is triggered.

1573 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 2
+2 more
rahulbist
says

hi,

I checked. when I change the video. the netstaus remains netstream.buffer.flush.

it just stuck I think and nothing happens.

do you i have to add a new netstream for each video?

1573 posts
  • 7 Years of Membership
  • Affiliate Level 1
  • Author Level 2
  • Collector Level 2
+2 more
rahulbist
says

mp4 files are above 50 mb. would this be a problem?

1313 posts
  • Affiliate Level 5
  • Author Level 7
  • Beta Tester
  • Collector Level 4
+10 more
LGLab
says

From my experience this happens with video files that are missing some metadata at the beginning of the video, or they are are the end instead, so if you use onMetaData, this will only trigger once the video is fully loaded. Usually happens with MOV files, but if I’m correct older versions of AE would put metadata at the end as well…something like that anyway, try and convert your mp4 to flv and see if you still have the issue.

by
by
by
by
by
by