PDA

View Full Version : Embed your DailyMotion Video into your posts


Barakat
03-06-2007, 10:00 PM
from your Admincp -> add new bbcode do those steps :-


title :daily motion
tag :dm
replacement :
<table class="tborder" cellpadding="6" cellspacing="1" border="0" style="width:auto;margin:10px 0;">
<thead>
<tr>
<td class="tcat" colspan="2" style="text-align:center">
<a href="http://www.dailymotion.com//swf/{param}" title="View this video at DailyMotion in a new window or tab" target="_blank">Daily Motion</a>
</td>
</tr>
</thead>
<tbody>
<tr>
<td class="panelsurround" align="center">
<object width="425" height="340" type="application/x-shockwave-flash" data="http://www.dailymotion.com/swf/{param}">
<param name="movie" value="http://www.dailymotion.com/swf/{param}" />
<param name="wmode" value="transparent" />
<em><strong>ERROR:</strong> If you can see this, then <a href="http://www.dailymotion.com/">Dailymotion</a> is down or you don't have Flash installed.</em>
</object>
</td>
</tr>
</tbody>
</table>

example :7mDGLG33yLS2r9LkS
discription : Daily Motion Videos
image : images/editor/md.gif

upload the md.gif to images/editor


thats it Enjoy !

:)

there was a small bug while browseing the movie in a new winodw for users
now its fixed and thats all.

zooki
03-07-2007, 01:07 PM
Thank you Barakat, very interesting.. :up:

alra7ba
03-07-2007, 02:04 PM
مشكوور حبيبي بركات ما تقصر يا اميرر

thxxx big Boss

TheBlackPoet
03-07-2007, 02:32 PM
Salaamu Alaikim Wa Rahmatullah Ikee.

I installed this one... and when i went to test it... the new thread caused a database error...

i know it is something with the replacement code.... because after i deleted it, everything on my end was good again...

i am using IE7....

Salaamu Alaikim!

Barakat
03-07-2007, 02:55 PM
Waalaykom al salam ,
IF U JUST WRITE ME DOWN THE ERROR .

Invalid ID
03-07-2007, 03:24 PM
Walecom Asalam

I would love to see some Demo

bela-meaad
03-07-2007, 03:58 PM
Walecom Asalam

I would love to see some Demo

Me too :)

Barakat
03-07-2007, 04:33 PM
I just post one random video here just for testing
http://www.jerusalemgts.com

TheBlackPoet
03-07-2007, 04:36 PM
i uninstalled it... the error page was the general dbase error code... and the funny thing about it which almost sent me into a panic... , the error was relating to email...

i originally thought i had made changes to my email config... but the last thing i installed was your hack... so i deleted it, and i was back to normal....

EMAIL????

Barakat
03-08-2007, 10:34 AM
just a small modification to make the video played in a new window while clicking on the movie top title , i fix it today ,

<table class="tborder" cellpadding="6" cellspacing="1" border="0" style="width:auto;margin:10px 0;">
<thead>
<tr>
<td class="tcat" colspan="2" style="text-align:center">
<a href="http://www.dailymotion.com//swf/{param}" title="View this video at DailyMotion in a new window or tab" target="_blank">Daily Motion</a>
</td>
</tr>
</thead>
<tbody>
<tr>
<td class="panelsurround" align="center">
<object width="425" height="340" type="application/x-shockwave-flash" data="http://www.dailymotion.com/swf/{param}">
<param name="movie" value="http://www.dailymotion.com/swf/{param}" />
<param name="wmode" value="transparent" />
<em><strong>ERROR:</strong> If you can see this, then <a href="http://www.dailymotion.com/">Dailymotion</a> is down or you don't have Flash installed.</em>
</object>
</td>
</tr>
</tbody>
</table>

just replace the hole code in the replacement box ,

princeedward
03-08-2007, 05:32 PM
nice hack bro.....but it would be better...to have it played only to our site and not possible to click on it and direct you to the dailymotion site...thanks anyway....;)

Barakat
03-08-2007, 06:18 PM
It wont redirect you until you click on the movie window twice, accualy its because the flv security player so you need to click on the screen to active it and to click on the play to watch it from your site , i will try to play arround in codes for no redirect to the main web , hope tomorow to make it.

princeedward
03-08-2007, 07:50 PM
i will try to play arround in codes for no redirect to the main web , hope tomorow to make it.that would be great and nice if you can find any solution to it bro...i mean all user will watch anything only to our website forum...eliminating or no redirect function.....

thanks again and best regards...:up:

Mecho
03-08-2007, 08:28 PM
i will try to play arround in codes for no redirect to the main web , hope tomorow to make it.

That would be great . i'm really need that too .

Thanks

Terminatoronly
03-09-2007, 09:09 AM
بركاتك يا شيخ بركاتك :P
good work Barakat :D

Barakat
03-09-2007, 09:54 AM
the flv movie cant be unredirect coz it have a code in it self .

Atakan KOC
03-25-2007, 06:04 PM
Thanks........

taumau
04-24-2007, 10:46 AM
I installed it, but what is the URL of the video that I use?

It?s not the permanent link... it?s what? :confused:

Is there a fix so it can be used the Permanent Link?
It?s easier

Barakat
05-11-2007, 01:37 AM
in the Embeddable Player code of the movie just copy it in the note pad and search the code

for example " src="http://www.dailymotion.com/swf/bq6UHiFoD4z2CdJt1

just choose this code :- bq6UHiFoD4z2CdJt1

and in ur post put it between bq6UHiFoD4z2CdJt1

Dermo-MIO
05-20-2007, 06:23 PM
thanks installed but if u could make it so that you didnt have to search the embedded code for the url the hack would be amazing thanks

bhen13
08-29-2007, 08:14 PM
the format is different now for daily motion... they don't put the code in the link anymore. What now??

Barakat
12-23-2007, 03:04 AM
the format is different now for daily motion... they don't put the code in the link anymore. What now??

ops



coz i have a little bit problem with the net ............

but i will do my best to make it out .......

sorry for my delay.

compact123
12-04-2008, 08:12 PM
thanksss