DLE Problem with movie embed

Status
Not open for further replies.

mecmaro1

New Member
2
2012
0
0
Hi! I have a problem with DLE, I have a website and i want to post movie link from the VK.com/ Videobb.com or other movie website not work's.YouTube embed code works. Why?? Please Help Me! Thanks!
 
4 comments
ok

So first create custom field in dle admin - go here:

http://yoursitename.com/cp.php?mod=xfields&xfieldsaction=configure

add custom field like this:

i9sEB.png


now you need to add code to your template fullstory.tpl to get this custom field work:

- this is videobb embed code:

Code:
<object id="player" width="480" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ><param name="movie" value="http://www.videobb.com/e/1b0P4yFa87tP" ></param><param name="allowFullScreen" value="true" ></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.videobb.com/e/1b0P4yFa87tP" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>

the same videobb code that use your custom field:

Code:
[xfgiven_vbb]<object id="player" width="480" height="385" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" ><param name="movie" value="http://www.videobb.com/e/[xfvalue_vbb]" ></param><param name="allowFullScreen" value="true" ></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.videobb.com/e/[xfvalue_vbb]" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object>[xfgiven_vbb]


to show player just add videobb link ID in field "Videobb Link" when you're adding your news, - this is videobb link id:

1b0P4yFa87tP

http://www.videobb.com/watch_video.php?v=1b0P4yFa87tP
 
Last edited:
go to www/engine/classes
open text name parse.class.php
add
PHP:
    var $allowed_domains = array("http://vkontakte*****", "http://www.vidbux.com/","http://youwatch.org/","http://vidto.me/","http://www.purevid.com/","http://filenuke.com/player/","http://www.youtube.com/","http://filenuke.com/player/", "http://movreel.com/embed/","http://embed.novamov.com/","http://embed.videoweed.es/", "http://allmyvideos.net/","http://video.meta.ua/","http://180upload.com/","http://muchshare.net/","http://www.uploadc.com/","http://www.vidxden.com/", "http://www.vkontakte*****","http://player.vimple*****","http://rutube*****", "http://vk.com/","http://allmyvideos.net/","http://muchshare.net/", "http://fleon.me/", "http://www.vk.com/", "http://embed.trilulilu.ro/", "http://youtube.com/", "http://dwn.so/player/", "http://www.videoslasher.com/embed/", "http://vidbull.com/", "http://maps.google*****", "http://maps.google.com/", "http://player.vimeo.com/", "http://www.facebook.com/", "http://mover.uz/", "http://nosvideo.com/", "http://play.flashx.tv/player/" , "http://v.kiwi.kz/", "http://www.dailymotion.com/", "http://www.bing.com/", "http://www.ustream.tv/", "http://w.soundcloud.com/", "http://www.coveritlive.com/", "http://video.yandex*****", "http://player.rutv*****", "http://embed.nowvideo.eu/","http://embed.divxstage.eu/","http://www.putlocker.com/","http://www.sockshare.com/","http://movpod.in/","http://gorillavid.com/","http://www.zalaa.com/","http://www.uploadc.com/","http://veehd.com/","http://movdivx.com/","http://www.veoh.com/", "http://www.dailymotion.com/", "http://fleon.me/", "http://skylo.me/");
 
Status
Not open for further replies.
Back
Top