Graeme Posted February 18, 2013 Report Posted February 18, 2013 Hello All, I found some nifty code to embed a movie onto a web site. I want to embed an .avi file and I have it in the root directory but for some reason it won't play. I used the code:- <html> <head> <title>Untitled</title> </head> <body> <p align="center"> <object width="320" height="260" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" hspace="0" border="1"> <param name="Filename" value="christmastreefestival.avi"> <param name="AutoStart" value="True" /> <param name="ShowControls" value="true" /> <param name="ShowStatusBar" value="True" /> <param name="ShowDiplay" value="true" /> <param name="AutoRewind" value="True" /> <embed width="320" height="260" hspace="320" filename= "christmastreefestival.avi" autostart="True" showcontrols="True" showstatusbar="True" showdiplay="True" autorewind="True" border="1" src= "christmastreefestival.avi"></embed> </object> </p> </body> </html> Thank you as always, Best wishes Graeme
Graeme Posted February 18, 2013 Author Report Posted February 18, 2013 Woops, it's OK folks, the code is OK, I just missed a letter out of the filename! Best wishes Graeme
Guest linda2013 Posted February 23, 2013 Report Posted February 23, 2013 Hi, It was good to me. hope i can update above code in my blog. Will it work there?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now