|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
embedding videos and w3c validation
Hi there,
hopefully someone may be able to help me. I've trawled the net, posted threads and haven't yet found a definitive answer, so here's to hoping. I believe: To embed a .rm file in a webpage that will work on IE and NN i need to use <embed> (for NN) within <object> (for IE). The <embed> tag and its properties won't validate on xhtml transitional. Removing the <embed> etc. means the embedded video simply vanishes from NN (and Mozilla). So, is there anyway I can have the video displayed on all the browsers and have that page validated, or do I simply have to bite the bullet, use the <embed> and fail the validation on the page with <embed>? That is my question. What is a little frustrating is that on the w3c mailing list archives someone had posted about this, stating they could add the <embed> tag to the xhtml code structure in 5 minutes... so why hasn't someone (this last question is kinda rhetorical, just airing a little frustration).Cheers |
|
#2
|
||||
|
||||
|
EMBED has been deprecated in favour of OBJECT.
Code:
<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="320" height="260"> <param name="src" value="/rossa/mov/tang.mov" /> <param name="controller" value="true" /> <object type="video/quicktime" data="/rossa/mov/tang.mov" width="320" height="260" class="mov"> <param name="controller" value="true" /> Error text. </object> </object> Note, you'll need to hide the second object from IE... There's more information here [as well as compatibility]. |
|
#3
|
|||
|
|||
|
Firstly, thanks again (you also answered another post)
Secondly... whoosh... it seems amazing to me that something as simple as embedding a movie to work across browsers(which is becomming amazingly prevelant on the web) is so hard. Even that tutorial you posted had problems in the present and possibly more so in the future. If only W3C or Gates would give way a little. Anyway, for me, I am going to accept that any pages with an embeded movie are not going to validate. the majority of videos i use I launch in real player as .ram files anyway, but was hoping to have the whole site validated. ho hum. thanks again for your time. |
![]() |
| Viewing: Dev Articles Community Forums > Web Design > Advanced Web Development > embedding videos and w3c validation |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|