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.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by