How to add jwplayer?

Get help developing custom BBCodes or request one.
Post Reply
User avatar
Difadon
Registered User
Posts: 55
Joined: Wed Nov 06, 2013 3:36 pm
Location: Špindlerův Mlýn
Name: Jan Nejedlý
Contact:

How to add jwplayer?

Post by Difadon » Tue Nov 03, 2015 6:08 pm

Hello,

I tried add jwplayer to phpBB.

I add to overall_header before </head>:

Code: Select all

​<script src="{ROOT_PATH}jwplayer/jwplayer.js" ></script>
<script>jwplayer.key="licence key";</script>
BBCODE:

Code: Select all

[test]{URL}[/test]
HTML:

Code: Select all

<div id="myElement">Loading the player...</div>
<script type="text/javascript">
var playerInstance = jwplayer("myElement");
playerInstance.setup({
file: "{URL}",
width: 640,
height: 360
});
</script>
Add to topic:

Code: Select all

[test]https://www.youtube.com/watch?v=9HE5MQ3eFC8[/test]
But the player does not appear. :(
Last edited by Oyabun1 on Wed Nov 04, 2015 9:06 am, edited 1 time in total.

User avatar
5hocK
Registered User
Posts: 3011
Joined: Wed Nov 23, 2011 7:00 pm
Location: England

Re: How to add jwplayer?

Post by 5hocK » Tue Nov 03, 2015 8:08 pm

Have to ask - You uploaded the jwplayer to {ROOT_PATH}jwplayer/ and entered the license key into the header?
A thread is pretty much a topic. Stop with the pedantics will ya.

User avatar
Difadon
Registered User
Posts: 55
Joined: Wed Nov 06, 2013 3:36 pm
Location: Špindlerův Mlýn
Name: Jan Nejedlý
Contact:

Re: How to add jwplayer?

Post by Difadon » Wed Nov 04, 2015 8:17 am

Yes.

User avatar
5hocK
Registered User
Posts: 3011
Joined: Wed Nov 23, 2011 7:00 pm
Location: England

Re: How to add jwplayer?

Post by 5hocK » Wed Nov 04, 2015 8:29 am

I've used your code here http://phpbbmods.co.uk/viewtopic.php?f=25&t=307
...and done exactly what's described in this topic.
A thread is pretty much a topic. Stop with the pedantics will ya.

User avatar
Difadon
Registered User
Posts: 55
Joined: Wed Nov 06, 2013 3:36 pm
Location: Špindlerův Mlýn
Name: Jan Nejedlý
Contact:

Re: How to add jwplayer?

Post by Difadon » Wed Nov 04, 2015 8:53 am

hm...
Free licence or Payd licence?

You can send me a "manual"? Because i have a blank post in my forum. :D

User avatar
5hocK
Registered User
Posts: 3011
Joined: Wed Nov 23, 2011 7:00 pm
Location: England

Re: How to add jwplayer?

Post by 5hocK » Wed Nov 04, 2015 8:55 am

Free license. I have no manual to send :?

Edit: Just checking you jwplayer directory is in the right place
jwcheck.png
jwcheck.png (9.38 KiB) Viewed 1411 times
Last edited by 5hocK on Wed Nov 04, 2015 9:01 am, edited 1 time in total.
A thread is pretty much a topic. Stop with the pedantics will ya.

User avatar
Difadon
Registered User
Posts: 55
Joined: Wed Nov 06, 2013 3:36 pm
Location: Špindlerův Mlýn
Name: Jan Nejedlý
Contact:

Re: How to add jwplayer?

Post by Difadon » Wed Nov 04, 2015 9:01 am

hm... i test install again and now is working. :D Thanks :)

Jef Horians
Registered User
Posts: 33
Joined: Tue Jul 25, 2017 12:32 pm

Re: How to add jwplayer?

Post by Jef Horians » Tue Jul 25, 2017 3:43 pm

Hello.

Old thread but how do you get this to work?
I'm new to phpBB.
Original post seems to be gone.

Jef

Post Reply

Return to “Custom BBCode Development and Requests”

Who is online

Users browsing this forum: No registered users and 2 guests