Forum Home
PC World Chat
 
Thread ID: 137401 2014-07-04 13:59:00 Video embedding mzee (3324) PC World Chat
Post ID Timestamp Content User
1378560 2014-07-04 13:59:00 How would I use the following video embedding code in a web page?

<iframe width="854" height="510" src="//www.youtube.com/embed/Gm0bnnRKjkk" frameborder="0" allowfullscreen></iframe>
mzee (3324)
1378561 2014-07-04 21:36:00 How would I use the following video embedding code in a web page?

<iframe width="854" height="510" src="//www.youtube.com/embed/Gm0bnnRKjkk" frameborder="0" allowfullscreen></iframe>
Paste it straight into your HTML code on your web page. Do you have a div with a class or id where you want to see the video?
Webdevguy (17166)
1378562 2014-07-05 02:06:00 The old code will display in preview on the computer. The new code only displays on the server, so there isn't really a problem except that you can't preview it before publishing. mzee (3324)
1378563 2014-07-05 06:07:00 Why do you need to preview it before publishing ?

I'll have to have a look at "the web site realizer".

I normally just use Wordpress for any CRM sites that I build. Its much easier and it's free :)
Webdevguy (17166)
1378564 2014-07-05 06:17:00 The old code will display in preview on the computer. The new code only displays on the server, so there isn't really a problem except that you can't preview it before publishing.

One way I get around that is to have two browser windows open on screen - one for the code that I am working on and one for the final output. I do this a lot when making changes in wordpress.

The other option you can play with is the html5 video tag which I have pasted below.

<!DOCTYPE html>
<html>
<body>

<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>

</body>
</html>

It looks like this www.w3schools.com
Webdevguy (17166)
1