Author Topic: JW Player replacing You Tube player [UPDATED]  (Read 6846 times)

0 Members and 1 Guest are viewing this topic.

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
JW Player replacing You Tube player [UPDATED]
« on: April 07, 2009, 12:52:26 AM »
Updated fully working (sorry about the down time)

Add the below code to players.tpl
Code: [Select]
<object id="player" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" name="player" width="450" height="320">
<param name="movie" value="player-viral.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}" />
<embed
type="application/x-shockwave-flash"
id="player2"
name="player2"
src="player-viral.swf"
width="450"
height="320"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="file=http://www.youtube.com/v/{if $video[video].file eq""}{$videoid}{else}{$video[video].file}{/if}"
/>
</object>

download attachments

upload to root directory

its working now :)

demo

http://mvideos.co.cc/videos.php?id=3
« Last Edit: November 21, 2009, 05:41:58 AM by Jeff »

Offline Aamir_Khamosh

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #1 on: May 10, 2009, 06:41:12 PM »
This attachment is also not working. Plz focuse on the attachments...

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #2 on: May 11, 2009, 01:21:12 AM »
fixed...

Offline harikt

  • Newbie
  • *
  • Posts: 17
  • Karma: 0
    • View Profile
    • http://www.harikt.com
Re: JW Player replacing You Tube player.....
« Reply #3 on: May 26, 2009, 05:30:42 PM »
Just viewed your site . Its a great work man .
Congrats for making it and Thanks for sharing .

Offline naxtra

  • Full phpd Member
  • ***
  • Posts: 74
  • Karma: 1
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #4 on: May 26, 2009, 09:23:20 PM »
P.S right now I'm trying to figure out how to get this to work with Dailymotion and Google Video(i think its the way they decode there videos with the player or something....)

Hi Jeff....were you able to figure it out for dailymotion or google? thx for yooutube  :)

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #5 on: May 26, 2009, 10:52:11 PM »
Ya I did.... I'll look for it later because I'm on my iPod.....

Should be soon

Offline naxtra

  • Full phpd Member
  • ***
  • Posts: 74
  • Karma: 1
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #6 on: May 27, 2009, 03:07:29 AM »
Ya I did.... I'll look for it later because I'm on my iPod.....

Should be soon

Awesome dude!  8)

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #7 on: May 28, 2009, 12:16:42 AM »
Hmmmm well im looking around and google and daily doesnt have the right API or somthing like that for JW to work with them..... im reading up to see ways around... ill let you guys know
« Last Edit: May 28, 2009, 12:33:46 AM by Jeff »

Offline naxtra

  • Full phpd Member
  • ***
  • Posts: 74
  • Karma: 1
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #8 on: May 28, 2009, 04:24:25 AM »
Thanks for the update!  :)

Offline kirula

  • Newbie
  • *
  • Posts: 19
  • Karma: 0
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #9 on: September 16, 2009, 10:20:34 AM »
downlord link not working pl re uplord

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #10 on: September 23, 2009, 02:11:50 AM »
updated to the newest version (should help some errors people were getting and runs A LOT smoother now)

-Jeff

Offline naxtra

  • Full phpd Member
  • ***
  • Posts: 74
  • Karma: 1
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #11 on: September 26, 2009, 01:49:20 AM »
Tx and proud of you  :P

Offline kortafilmer

  • Newbie
  • *
  • Posts: 15
  • Karma: 0
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #12 on: October 21, 2009, 12:15:35 AM »
Hi Jeff :) i uploaded the player and all that stuff... but i think im changing wrong code in player.tpl because i still getting error #2035.
Should i erase everything in the players.tpl and then paste that code that u gave us? or should i paste it only without erasing the other codes?

Thank you for the code i hope u can help me :)
« Last Edit: October 21, 2009, 12:26:39 AM by kortafilmer »

Offline Jeff

  • Global Moderator
  • Sr phpd Member
  • *****
  • Posts: 359
  • Karma: 5
  • Need help? Feel free to ask.
    • View Profile
Re: JW Player replacing You Tube player.....
« Reply #13 on: October 23, 2009, 04:34:42 AM »
ya try to erase all the youtube code and just copy and paste mine.... and upload... nothing to change in mine :)

Offline xsnoboard

  • phpd Basic Member
  • **
  • Posts: 39
  • Karma: 0
    • View Profile
    • My Vid Space
Re: JW Player replacing You Tube player.....
« Reply #14 on: October 30, 2009, 04:23:13 PM »
Hi Jeff :) i uploaded the player and all that stuff... but i think im changing wrong code in player.tpl because i still getting error #2035.
Should i erase everything in the players.tpl and then paste that code that u gave us? or should i paste it only without erasing the other codes?

Thank you for the code i hope u can help me :)



I am getting the same error. The only code I replaced was the youtube code. Uploaded all three files to root.