1568 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
+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
  • Has referred 50+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Had an item featured on Envato Market
+5 more
wickedpixel says

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

1568 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
+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?

1568 posts
  • Has been part of the Envato Community for over 6 years
  • Has referred 1+ members
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
+2 more
rahulbist says

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

1312 posts
  • Has referred 200+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has been a beta tester for an Envato feature
  • Has collected 100+ items on Envato Market
+8 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