The Video is playing using iframe in a website. -


actually, video playing using iframe in website of now. want change iframe alternate way. because should not use iframe concept in website. there other way play video?

use <video> tag

check demo fiddle

html

<video width="320" height="240" controls>   <source src="https://tutorialehtml.com/assets_tutorials/media/shaun-the-sheep-the-movie-official-trailer.mp4" type="video/mp4"> browser not support video tag. </video> 

for more can read here on video tag

video tag

p.s. : video used https://tutorialehtml.com/

it supported in browsers :

chrome 4.0+

ie 9.0+

mozilla 3.5+

safari 4.0+

opera 10.5+


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -