Click here to Skip to main content
15,889,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,

I have created a playlist in html and playing a video in an iFrame tag, which is selected from a playlist.

Now the problem is that on first time the page is loading the video works fine.
But when i select any other video the older video leaves it's iframe object as a white box on the same place.

After that i always need to close this tab. cause even on changing any URL the white box doesnt remove.

Also before the same issue was happening, when i click on any link to change URL from the page the video is playing. But then i make the iFrame hidden on onBeforeUnload event and it worked. But in this case the whole page is not refreshed, just the iFrame is reloaded with the new video as selected from the play list.

This issue is only seems in Chrome and on other browsers it works fine..!
Please help me out in this issue..!
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900