homepage Welcome to WebmasterWorld Guest from 23.23.8.131
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / HTML
Forum Library, Charter, Moderators: incrediBILL

HTML Forum

    
WMV embed for Mac users, embed
Problem with Status bar
koppted

5+ Year Member



 
Msg#: 11539 posted 11:43 pm on Dec 26, 2005 (gmt 0)

Hi folks, i just did an embed for windows media. for some reason, the status bar shows for all browsers on windows , but will not show for Mac users who have either Safari or Firefox, could someone tell me what i might be doing wrong here? here is the code


//write out the mozilla complient code
document.write( "<EMBED NAME =\"EmbedmediaPlayer\"");
document.write( "PLUGINSPAGE =\"http://microsoft.com/windows/mediaplayer/en/download/\" ");
document.write( "FILENAME =\"domain.com/videofile\" ");
document.write( "SHOWSTATUSBAR =\"true\" ");
document.write( "SHOWCONTROLS =\"true\" ");
document.write( "TYPE =\"application/x-mplayer2\" ");
document.write( "SRC =\"" + videolink + "\"");
document.write( "WIDTH =\"480\" ");
document.write( "HEIGHT =\"425\"> ");
document.write( "</EMBED>" );
}

</script>
<noscript>
<embed name ="EmbedmediaPlayer"
pluginspage ="http://microsoft.com/windows/mediaplayer/en/download/"
filename ="domain.com/videofile"
showstatusbar ="true"
showcontrols ="true"
showdisplay ="true"
showtracker ="true"
type ="application/x-mplayer2"
src ="domain.com/videofile"
width ="480"
height ="425"></embed>
</noscript>
</object>

 

DrDoc

WebmasterWorld Senior Member drdoc us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 11539 posted 2:13 am on Dec 27, 2005 (gmt 0)

... because it's embedding media player ... on a Mac?

<confused>

Taffa

5+ Year Member



 
Msg#: 11539 posted 6:55 pm on Dec 27, 2005 (gmt 0)

Why output from document.write is different from <noscript> and what is this lonely </object>?

showcontrols="true" (deprecated) is unnecessary and waste of bytes, since it is true by default. Same applies to these:
showdisplay ="true" (deprecated)
showtracker ="true" (deprecated)

In IE when you use active-x media player object (clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6) uiMode = full is default.

For browsers that use non-active-x plugin like Firefox, Opera always use 1 or 0 instead of true or false.
ShowStatusBar="1" should add status bar.

koppted

5+ Year Member



 
Msg#: 11539 posted 4:33 am on Dec 28, 2005 (gmt 0)

taffa, thank you very much for the help, i used numbers for it and it worked fine

thanks again!

koppted

5+ Year Member



 
Msg#: 11539 posted 4:36 am on Dec 28, 2005 (gmt 0)

oh, btw i posted only a small part of the code, last(mozilla) part of the code that we have th "lonely", </object> it was part of the whole thing wherefore i have put in the Activex part for window begining with ,<object> but you didnt see it here, thanks anyways for you help

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / HTML
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved