Adding a Video to Video box on HP

SirDarkHart
by SirDarkHart · 18 posts
10 years ago in IMVU Homepage Codes
Posted 9 years ago
D.M wrote:
As far as I know, the video panel is nothing more than a blank panel with a custom name. I personally use it to hold all my custom code. But I imagine any html or flash video would work in it if you have the code. Try putting the embed code for a YouTube video in it.Also:
http://www.w3schools.com/html/html_videos.asp
http://www.w3schools.com/html/html5_video.asp


The first one doesn't work.
Posted 9 years ago
How can we make a video to autoplay?
Posted 9 years ago
axiom wrote:
D.M wrote:As far as I know, the video panel is nothing more than a blank panel with a custom name. I personally use it to hold all my custom code. But I imagine any html or flash video would work in it if you have the code. Try putting the embed code for a YouTube video in it.Also:
http://www.w3schools.com/html/html_videos.asp
http://www.w3schools.com/html/html5_video.aspThe first one doesn't work.



Replaced the link. http://www.w3schools.com/html/html_youtube.asp

kingminoas wrote:
How can we make a video to autoplay?

This might help: http://stackoverflow.com/questions/3405 ... or-youtube
Posted 9 years ago
Thanks a lot DM!!! :D :D
Posted 6 years ago
You can embed youtube video in html without iframe tag. You can use HTML object tag to embed multimedia (like audio, video, Java applets, ActiveX, PDF, and Flash) in your web pages.

One reason to use object over iframe is that object re-sizes the embedded content to fit the object dimensions. most notable on safari in iPhone 4s where screen width is 320px and the html from the embedded URL may set dimensions greater.

Code
 <object data="https://www.youtube.com/embed/MW9aHpq829M" width="560" height="315">
</object>


http://net-informations.com/q/mis/youtube.html
Posted 5 years ago
Upload the video to YouTube
Take a note of the video id
Define an <iframe> element in your web page
Let the src attribute point to the video URL
Use the width and height attributes to specify the dimension of the player
Add any other parameters to the URL

Code
<!DOCTYPE html> 
<html>
<body>
<iframe width="560" height="315" src="https://www.youtube.com/embed/zAlX1V3lK5s">
</iframe>
</body>
</html>


More... http://net-informations.com/q/mis/youtube.html

Create an account or sign in to comment

You need to be a member in order to leave a comment

Sign in

Already have an account? Sign in here

SIGN IN NOW

Create an account

Sign up for a new account in our community. It's easy!

REGISTER A NEW ACCOUNT