1. JWPlayer plugin using xfield

JWPlayer plugin using xfield

  |   4
JWPlayer plugin using xfield


JW Player info and introduction


There are host of nice video players on the Internet today. HTML5 has enabled people to create simple javascript players with ease. But video is hard. In fact, HTML5 makes it even harder. It's not enough to have a player, but you need a player that works in every browser and on every device, old and new.

The JW Player has evolved through the history of online video since the time Jeroen wrote the first version in 2005. The experience we have developed over those years are built into the JW Player. This is evident in our support for all the major CDNs, YouTube, Adobe's Flash Media Server, Wowza, RTMP streaming, HTTP streaming, major advertising networks, analytics providers, and more. We have worked with these companies for years. By choosing the JW Player you can rest easy that we will offer the same support for HTML5, as we have for Flash, as the market continues to evolve.




Installations (This instruction also included with download file)


  1. open file /jwplayer/common.php and edit line 6
    $yourdomain = "i-386.50webs.org";
    - Change the domain name from i-386.50webs.org ot your own site url (without http://)

  2. upload the folder /jwplayer/ to your site root directory, it should be like this

  3. Login to your DLE admin CP and create "custom Fields" for Article and name is as "jwplayer" or anything you like

  4. 4) Open /templates/{THEME}/fullstory.tpl
    - Add this code to wherever you want the player to show
    <iframe title="Video player" width="500" height="281" src="/jwplayer/index.php?url=[xfvalue_jwplayer]&amp;skin=stormtrooper" frameborder="0" allowfullscreen="true" id="VideoPlayer{news-id}"></iframe>

    5) Make sure you correct the names of [xfgiven_jwplayer], [xfvalue_jwplayer] and [/xfgiven_jwplayer], it must be as same xfield anme you created and dle admin CP


DLE Versions: All
Tested: 8.x - 9.x

Download: Login Required!Only registered users can download files. Please register or Login

Dear visitor, you are browsing our website as Guest.
We strongly recommend you to register and login to view hidden contents.



Comments 4

Commented By Gozan on August 18, 2011 (2:10 pm)
thanks for tben

i tried all steps and finally when i`m added youtube link in xfield
didn`t appear any video and the code that appear on news.

what should i do?
33 132Forum topics : 20Forum replies : 88Forum likes : 7
Commented By tbenmcp on August 18, 2011 (7:32 pm)
well, what I didn't mention is that the ifram url is not the youtube url, but it's url from iframe code...

For example:
This is youtube url for movie: http://www.youtube.com/watch?v=yrgYmpxZeD0
but the url you want to add is not this one, when you click on "Share" button, and click on "Enbed" button, you will see the iframe code like this
<iframe width="560" height="345" src="http://www.youtube.com/embed/yrgYmpxZeD0" frameborder="0" allowfullscreen></iframe>

The url you want is this url: http://www.youtube.com/embed/yrgYmpxZeD0 from where it say src="http://www.youtube.com/embed/yrgYmpxZeD0"

also the possibility issue you might have are
1) the Adobe cross domain restriction policy...you may have to modify you website to accept that
2) the youtube api on embed
3) register the free account with fetchvideo

give me a few days I will modify the new update and make it easier for everyone to use and post
20 150Forum topics : 11Forum replies : 248Forum likes : 32

"A True Friend is Someone Who Sees the Pain in Your Eyes while Everyone Else Believes the Smile on Your Face"
Let me Google for you!
Commented By Gozan on August 19, 2011 (7:20 am)
hi tben

thank you for explaining

i`ll be in touch ^_^
33 132Forum topics : 20Forum replies : 88Forum likes : 7
Commented By i386 on August 19, 2011 (11:11 pm)
version 2 is up, please visit this topic http://www.dlestarter.com/14-jw-player-for-dle-v2.html
4 4Forum topics : 1Forum replies : 5Forum likes : 4
Information!Would you like to leave your comment? Please Login to your account to leave comments. Don't have an account? You can create a free account now.