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.
- Community Superstar
- Item was Featured
- Author was Featured
- Has been a member for 5-6 years
- Won a Competition
- Sold between 50 000 and 100 000 dollars
- Bought between 10 and 49 items
- Referred between 50 and 99 users
- Europe
Put event listeners on the video streams and trace them, to see what and when is triggered.
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?
mp4 files are above 50 mb. would this be a problem?
- Sold between 50 000 and 100 000 dollars
- Has been a member for 4-5 years
- Microlancer Beta Tester
- United Kingdom
- Attended a Community Meetup
- Author was Featured
- Item was Featured
- Referred between 200 and 499 users
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.
