Flashmovie integration

Use GitHub to post feature requests for phpwcms.
Locked
Frank
Posts: 11
Joined: Fri 21. May 2004, 23:54
Location: Berlin

Flashmovie integration

Post by Frank »

Hiyas!

I got a movie from a customer. Got it converted to a flashmovie (either flash7 or flash8).

The ending is .flv - I uploaded the movie but the multimedia content part doesn't accept it.

The obj call code itself:

- - -
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shoc ... on=7,0,0,0" width="200" height="160" 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=themovienamehere&skinName=Corona_Skin_2&streamName= themovienamehere&autoPlay=false&autoRewind=false" />
<embed src="FLVPlayer_Progressive.swf" flashvars="&MM_ComponentVersion=1&skinName=Corona_Skin_2&streamName= themovienamehere&autoPlay=false&autoRewind=false" quality="high" scale="noscale" width="200" height="160" name="FLVPlayer" salign="LT" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
- - -

It requires 3 files at all:
- the large themovienamehere.flv movie file itself generated with flash studio
- FLVPlayer_Progressive.swf - I *guess* the controls for playing
- Corona_Skin_2.swf - somewhat of other stuff.

In the creaged html code was a flash check in the head as well, I guess the usual one with a call in the body tag.


Or is there any other solution to integrate this which I just didn't find right now? Of course I can iFrame it.... But I'd like to have it easy that the customer can put in his movies on his own without needing me everytime to set up external stuff.

Thanks!
lG, Frank
Ibis Fernandez
Posts: 67
Joined: Tue 22. Jun 2004, 19:54
Contact:

Post by Ibis Fernandez »

If you are using the latest dev version you can enable flash on the fckeditior which will give you an additional way to upload and manage files, you'll just have to add the .flv extension to it maybe .xml as well if you planning on using playlists such as the ones created with camtasia. To enable flash on the fck editor your need to go into the source files, i forgot the name of the file but its one of the content includes files, change the tool bar from phpwcms to "Default".

Set up a generic flv player somewhere on the site. something that can be called on to play any given flv file simply by adding an additional parameter such as yourFLVplayer.swf?movie=path/to/video.flv

now when you add a new swf just link it using all the main parameters within the url... like myplayer.swf?movie=mymovie.flv&skin=myskinName&anotherVariable=somethingElse
Ibis Fernandez
Cinestar Filmworks
http://flashfilmmaker.com
http://cinestarfilmworks.com
Author of Macromedia Flash Animation and Cartooning: A Creative Guide
User avatar
anthony.abraira
Posts: 99
Joined: Sun 11. Sep 2005, 07:42
Location: Mars Hill, NC
Contact:

is this is a bug

Post by anthony.abraira »

I tried uploading a swf movie file. (I encoded an FLV movie and exported through Macromedia Flash 8 Professional.) This created a file named hd_guitarhero.swf

however when i try to upload the file and then use it with the phpwcms file system it doesn't load the movie. Looking at the code, I realized that it was changing the extension to .swc

The code is:

Code: Select all

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="740" height="270"  border="0" id="idncZaF" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"><param name="movie" value="phpwcms_filestorage/e9d41cc1f38580889f52ee41c953683d.swc"><param name="quality" value="high"><param name="scale" value="noborder"><param name="loop" value="true"><param name="play" value="true"><embed src="phpwcms_filestorage/e9d41cc1f38580889f52ee41c953683d.swc" border="0" width="740" height="270"  id="idncZaF" type="application/x-shockwave-flash" play="true" quality="high" scale="noborder" pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed></object>
"The trick is living without an answer."
User avatar
Oliver Georgi
Site Admin
Posts: 9888
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

this is coming.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Locked