![]() |
|
|||||||
| Freelance Services Looking to hire a programmer/designer to customize your ClipShare script. You can find one here. Freelance developers can also list their services here. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Member
|Forum Newbie|
![]() Join Date: Nov 2011
Posts: 23
![]() |
Hello,
this is a moment I'm looking for someone who could help me install "dailymotion api" etc. to enter dailymotion links publishers with code <iframe> Is there an expert who can give me his help please. Sorry for my spelling, I'm French. thank you My email address: djaminet@hotmail.fr |
|
|
|
|
|
#2 |
|
Member
|Forum Guru|
![]() ![]() ![]() ![]() ![]() Join Date: Nov 2007
Posts: 2,501
![]() |
I'm not speaking French, so in English.
Not only Dailymotion, but also new Youtube embed code is "iframe" and "iframe" is prohibited due to security reason. So to allow youtube or idailymotion is little bit complicated, but possible. In upload.php find line: Code:
if ( stristr($embed_code, '<a') || stristr($embed_code, '<img') || stristr($embed_code, '<iframe') ) {
Code:
$allow=0;
if (stristr($embed_code, '<iframe') ) {
if (stristr($embed_code, 'youtube.com') || stristr($embed_code,'dailymotion.com') ) {$allow=1;}
}
if ( stristr($embed_code, '<a') || stristr($embed_code, '<img') || stristr($embed_code, '<iframe') && $allow !=1 ) {
|
|
|
|
|
|
#3 |
|
Member
|Forum Junior|
![]() ![]() Join Date: Feb 2012
Posts: 63
![]() |
Hi enet59, got any luck on this? Newbies would really benefit with your share on how this worked out for you.
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|