Author Topic: own flash player?  (Read 1287 times)

0 Members and 1 Guest are viewing this topic.

Offline naxtra

  • Full phpd Member
  • ***
  • Posts: 74
  • Karma: 1
    • View Profile
own flash player?
« on: April 22, 2009, 07:20:51 PM »
Hi all php guru!

is there anyway we can use our own flash player instead of youtube and dailymotion player?

is it possible and how to do it pls someone guide  ???

thx alot

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: own flash player?
« Reply #1 on: April 23, 2009, 10:38:06 PM »
yup there sure is...... i posted it before.... ill put up the forum link...

http://phpdirector.co.uk/forum/index.php/topic,40.0.html

Offline naxtra

  • Full phpd Member
  • ***
  • Posts: 74
  • Karma: 1
    • View Profile
Re: own flash player?
« Reply #2 on: April 24, 2009, 06:54:53 AM »
Thx Jeff....but attachment file not found.....404 msg im getting  ???

can we do something similiar for dailymotion too  ???

Offline Dudditz

  • Newbie
  • *
  • Posts: 16
  • Karma: -1
    • View Profile
    • PimpMyGamercard
Re: own flash player?
« Reply #3 on: April 24, 2009, 12:59:00 PM »
The attachment directory doesnt seem to have write permissions.
I just grabbed that attachment last week - I believe this is the code.
Code: [Select]
{if $vidtype eq "YouTube"}

<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="425" height="350">
<param name="movie" value="http://player.longtailvideo.com/player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=http://www.youtube.com/v/{if $video[video].file eq

""}{$videoid}{else}{$video[video].file}{/if}&autoplay=1" />
<object type="application/x-shockwave-flash" data="http://player.longtailvideo.com/player.swf"

width="425" height="350">
<param name="movie" value="http://player.longtailvideo.com/player.swf" />
<param name="allowfullscreen" value="true" />
<param name="allowscriptaccess" value="always" />
<param name="flashvars" value="file=http://www.youtube.com/v/{if $video[video].file eq

""}{$videoid}{else}{$video[video].file}{/if}&autoplay=1" />
<p><a href="http://get.adobe.com/flashplayer">Get Flash</a> to see this player.</p>
</object>
</object>
{elseif $vidtype eq "GoogleVideo"}

<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash"

src="http://video.google.com/googleplayer.swf?docId={if $video[video].file eq

""}{$videoid}{else}{$video[video].file}{/if}" flashvars=""> </embed>

{elseif $vidtype eq "dailymotion"}

<div><object width="425" height="335"><param name="movie" value="http://www.dailymotion.com/swf/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}"></param><param name="allowfullscreen" value="true"></param><embed src="http://www.dailymotion.com/swf/{if $video[video].file eq ""}{$videoid}{else}{$video[video].file}{/if}" type="application/x-shockwave-flash" width="425" height="334" allowfullscreen="true"></embed></object></div>

{else}
This video type is currently unsuppotred
{/if}

Offline naxtra

  • Full phpd Member
  • ***
  • Posts: 74
  • Karma: 1
    • View Profile
Re: own flash player?
« Reply #4 on: April 24, 2009, 09:17:59 PM »
Thx dude

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: own flash player?
« Reply #5 on: April 27, 2009, 02:02:52 AM »
ya thats it.... sorry i didnt notice you wrote.... sometimes im on here and to tired to look correctly for everyone that needed help.... lol but thx naxtra for finding it... ill notify krissy about the att.