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.
Put event listeners on the video streams and trace them, to see what and when is triggered.
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?
mp4 files are above 50 mb. would this be a problem?
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.