Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Embedded Shockwave movies
Old 05-02-2005, 11:20 PM Embedded Shockwave movies
Skorch1's Avatar
Super Talker

Posts: 115
Location: California
Trades: 0
I am using shockwave movies on my site(cliff jumping not ads) They are treated as embedded articles and require an attribute called pluginspage=yadayadayada. I used macromedia flash to make the movies. Is there a validatable way to embed swf movies in a webpage? When it goes through the validator the swf code to embed and play the file create at least 10 errors. I am a relative newbie in the webmastter world and am just totally lost on this subject. I also don't think IE recognizes these as swf files either though it could be a local problem with my browser(Firefox is great!)

Any help would be much appreciated! Thanks.

My url for a page with this problem is http://12feetunder.com/CliffJumpingCalifornia.htm
Skorch1 is offline
Reply With Quote
View Public Profile Visit Skorch1's homepage!
 
 
Register now for full access!
Old 05-03-2005, 01:06 PM
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
Hey I am not too good at flash, however, my main reason for replying was that I seen your pics on your site, and man..You guys ROCK! Cliff Diving Rocks!! REALLY IT DOES! Looks crazy, yet exciting, but d-a-m-n, I never seen it before!

An interesting sight for sore eyes, that's for d-a-m-n sure!
Just my thoughts ~

-Brian
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 05-03-2005, 01:38 PM Thanks
Skorch1's Avatar
Super Talker

Posts: 115
Location: California
Trades: 0
Did you happen to check out the videos page? Thanks!
Skorch1 is offline
Reply With Quote
View Public Profile Visit Skorch1's homepage!
 
Old 05-03-2005, 04:18 PM
CasaPages's Avatar
SillyPhilly

Posts: 758
Location: between here an somewhere else
Trades: 0
You want validity you got it buddy......

Here is the XHTML code
HTML Code:
     <div style="text-align: center;">
 <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version='5,0,42,0'"
       id="Movie1" width="374" height="224">
       <param name="moviename" value="moviename.swf" />
       <param name="quality" value="High" />
       <param name="bgcolor" value="#000000" />
       <param name="allowScriptAccess" value="sameDomain" />
     <script type="text/javascript" src="moviename.js">
       <noscript>
        javascript support required
       </noscript>
     </object>
     </div> 




and create the following "moviename.js" file

Code:
if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) {
   
document.writeln(' <embed name="moviename" src="moviename.swf"'); document.writeln(' quality="high" bgcolor="#000000" swLiveConnect="true" allowScriptAccess="sameDomain"'); document.writeln(' width="374" height="224"'); document.writeln(' type="application/x-shockwave-flash"'); document.writeln(' pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>'); } else { document.writeln('No flash player plugin installed'); }




The Java Script controls how the flash is viewed in FireFox and the xhtml controls how the flash is viewed in IE

set your height and width according to your file size, make sure to do this in both the XHTML and java file....

you may have to mess with the "ref" locations.....

I personally keep the .js file with the flash movie in their own folder


and this is all valid code....
__________________
It Happens

Please login or register to view this content. Registration is FREE
CasaPages is offline
Reply With Quote
View Public Profile Visit CasaPages's homepage!
 
Reply     « Reply to Embedded Shockwave movies
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.22455 seconds with 12 queries