Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Mal

macrumors 603
Original poster
Jan 6, 2002
6,252
18
Orlando
Ok, so I'm trying to embed a video in a page on my website, and it doesn't seem to be working. I don't know, maybe it's just taking a long time to load, but there's no signs I can see except that space is being taken up that the video is indeed loading. Am I doing something wrong that anyone can see in there, or is there a better way to do this? (I don't even know for sure if this is valid code, for that matter, haven't checked it yet.)

Here's the code I'm using for the embed:
Code:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" id="video" data="video/cpimovie.mov" codebase="http://www.apple.com/qtactivex/qtplugin.cab" type="video/quicktime" height="240" width="320" style="display:block; margin-left: auto; margin-right: auto; margin-top: 5%;"><param name="src" value="video/cpimovie.mov" /><param name="controller" value="true" /><param name="autoplay" value="true" /><embed src="video/cpimovie.mov" height="240" weight="320" autoplay="true" controller="true" pluginspage="http://www.apple.com/quicktime/download/" style="display:block; margin-left: auto; margin-right: auto; margin-top: 5%;"></embed></object>

EDIT: I've temporarily replaced that code with a YouTube embedded link, though I think I might prefer to host it myself instead of on YouTube.

Thanks in advance for any help ya'll are able to provide!

jW
 

InfoTech11

macrumors member
Nov 18, 2008
30
0
Video Podcast URL?!?!

Im having same problem.. But I have videos stored on my server that I created a a video podcast url out of (mobile.infotechelite.com/control/real.xml).

When I try to view the movies from our company web app that I am developing, it doesn't want to pop up. It says it cant download the file (why is it trying to download it in the first place!

Here is a snippet from my feed XML. This is one video that shows in my app.

The web address of the app is either http://www.infotechelite.com/vids or mobile.infotechelite.com. Either will redirect you to the mobile version if you go to it from your iPhone or iPod Touch.

Thanks guys!

Code:
<item>
<title>Test</title>
<enclosure
url="http://www.infotechelite.com/vids/e7n9nMLS8sU-high.mp4"
length="100000000" type="video/mpeg"/>
<pubDate>Sat, Jan 17 2009 14:00:00 GMT</pubDate>
</item>
 

Mal

macrumors 603
Original poster
Jan 6, 2002
6,252
18
Orlando
Hmm, I never got an answer or figured this one out on my own, so I'd still be interested to hear it. I left it as a YouTube link all this time.

jW
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.