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 Quote
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 Quote
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? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.