Flash Video (VWD2005 vs Dream weaver)
Hello,
I have a little problem and looking for some experience. I am very new to webstuff and just learned some of the Flash capabilities.
Ultimately I want to be able to add some good flash video to my site. However, all the tutorials that I have learned are on DreamWeaver CS3 and my site is done with VWD2005.
I am wondering can I take the script that DW creates with the Flash insert wizard and copy into my asp and will it function correctly? I know there are several tools out there that do this for me. However, I think the Adobe tools gives me more flexibility to get the look I want and would like to find a use for it...
advice?
Re: Flash Video (VWD2005 vs Dream weaver)
I was going to recommend the Adobe tools, but it seems you already know about them.
Have you used them before?
Re: Flash Video (VWD2005 vs Dream weaver)
Dreamweaver/CS2/CS3 should give you a bit of HTML that you only need to place on your page. It will count as a regular HTML control so it doesn't have a lot to do with your asp.net code/pages. You can even place it on an HTML page or a PHP page, anything. For example:
Code:
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/5xaOzK2tA8g&rel=1" height="355" width="425"><param name="movie" value="http://www.youtube.com/v/5xaOzK2tA8g&rel=1" /><param name="wmode" value="transparent" /></object>
That's it.
Re: Flash Video (VWD2005 vs Dream weaver)
Quote:
Originally Posted by Hack
I was going to recommend the Adobe tools, but it seems you already know about them.
Have you used them before?
When I started into this little hobby. I first purchased Dream Weaver. However, as I progressed and realised that I needed SQL I went ahead and scrapped the DW stuff and just went with asp. However, Just trying to created a video page has lead me back to DW.
Just playing around I used the DW wizzard to insert a flash video into a webpage. However, when I copied it over to an asp default page it got several errors.
I need to look into it a little deeper.
Re: Flash Video (VWD2005 vs Dream weaver)
Show us what you copied then.
Re: Flash Video (VWD2005 vs Dream weaver)
And what the errors were.
Re: Flash Video (VWD2005 vs Dream weaver)
Couple things...
First of all thank you for the help!
I have been able to get the player to work on the site. However, I had to "unclick" the button in the Wizzard that prompts the visitor to get flash etc.. This cleaned up my code alot. So it is working.
However, I am still getting several errors and personally eventhough it works, I don't like to get errors.
here they are:
1.) Error 1 File 'flvplayer_progressive.swf' was not found. C:\Documents and Settings\dsggodwin\My Documents\Visual Studio 2005\WebSites\corp\boxscores\NBA.aspx 15 15 C:\...\corp\
2.) Error 2 Validation (Internet Explorer 6): Attribute 'flashvars' is not a valid attribute of element 'embed'. C:\Documents and Settings\dsggodwin\My Documents\Visual Studio 2005\WebSites\corp\boxscores\NBA.aspx 15 42 C:\...\corp\
3.) Error 4 Validation (Internet Explorer 6): Attribute 'scale' is not a valid attribute of element 'embed'. C:\Documents and Settings\dsggodwin\My Documents\Visual Studio 2005\WebSites\corp\boxscores\NBA.aspx 15 167 C:\...\corp\
4.) Error 5 Validation (Internet Explorer 6): Attribute 'salign' is not a valid attribute of element 'embed'. C:\Documents and Settings\dsggodwin\My Documents\Visual Studio 2005\WebSites\corp\boxscores\NBA.aspx 15 225 C:\...\corp\
5.) Error 6 Validation (Internet Explorer 6): Attribute 'type' is not a valid attribute of element 'embed'. C:\Documents and Settings\dsggodwin\My Documents\Visual Studio 2005\WebSites\corp\boxscores\NBA.aspx 15 237 C:\...\corp\
Re: Flash Video (VWD2005 vs Dream weaver)
2, 3, 4 and 5 are validation errors. Ignore them for now, those can be resolved later.
Error 1 is unclear. Again, like I asked, could you please show us the code? In about 16500 years, it is envisioned that we may develop telepathic abilities, unfortunately, that is not a reality right now. :(
Re: Flash Video (VWD2005 vs Dream weaver)
Here is the code.
Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="510" height="288" id="FLVPlayer">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_2&streamName=gm_3_temp&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Clear_Skin_2&streamName=gm_3_temp&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="510" height="288" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" />
</object>
This is straight out of DW
Re: Flash Video (VWD2005 vs Dream weaver)
It seems that you're getting those errors because VS is complaining about the compliance. The code will work, but the code supplied to you by Dreamweaver is not compliant with whatever standard you are validating against. You can modify that a bit...
Code:
<object type="application/x-shockwave-flash" data="FLVPlayer_Progressive.swf" height="288" width="510">
<param name="movie" value="FLVPlayer_Progressive.swf" />
<param name="salign" value="lt" />
<param name="quality" value="high" />
<param name="scale" value="noscale" />
<param name="FlashVars" value="&MM_ComponentVersion=1&skinName=Clear_Skin_2&streamName=gm_3_temp&autoPlay=false&autoRewind=false" />
</object>
Re: Flash Video (VWD2005 vs Dream weaver)
That did fix it...
However, at the same time of my edit I also added another in my format and that one did not get any errors either.:D
Thanks for the help!
Re: Flash Video (VWD2005 vs Dream weaver)
Nevermind...It came back..
I'll go with your..:bigyello:
Re: Flash Video (VWD2005 vs Dream weaver)
Just so you know, you can get it 'compliant' by removing the <embed> bit that dreamweaver supplies you with, and the classid attribute. Most browsers today will understand how to work with it, but a few older browsers will not.