Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

QT on Ipod

Status
Not open for further replies.

blanius

Programmer
Mar 3, 2002
30
US
I'm building a Ipod/Iphone webapp and all is well but the QT embed is not working as expected...

I'm using
<embed src="mycover.jpg" href="./videos/myvideo.mp4" AutoStart="true" type="video/x-m4v" target="myself" scale="1">

and this works but the cover image has to be in the root like this if I put the mycover.jpg into a subdirectory on the server like /images/ then it doesn't work.

Anyone have some insight into why this would be?

Bret Lanius
 
In case anyone is interested they have to be in the same directory and then you only use the full path on the href link.

<embed src="mycover.jpg" href="./videos/myvideo.mp4" AutoStart="true" type="video/x-m4v" target="myself" scale="1">

where mycover.jpg and myvideo are in the same directory and it works fine.

Bret Lanius
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top