vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Embed your DailyMotion Video into your posts (https://vborg.vbsupport.ru/showthread.php?t=141394)

Barakat 03-06-2007 10:00 PM

Embed your DailyMotion Video into your posts
 
from your Admincp -> add new bbcode do those steps :-


title :daily motion
tag :dm
replacement :
Code:

<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 :[dm]7mDGLG33yLS2r9LkS[/dm]
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

Quote:

Originally Posted by Invalid ID (Post 1198077)
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 ,

Code:

<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

Quote:

Originally Posted by Barakat (Post 1198990)
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

Quote:

Originally Posted by Barakat (Post 1198990)
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 [dm]bq6UHiFoD4z2CdJt1[/dm]

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

Quote:

Originally Posted by bhen13 (Post 1328315)
the format is different now for daily motion... they don't put the code in the link anymore. What now??

Quote:

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


All times are GMT. The time now is 06:05 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01062 seconds
  • Memory Usage 1,763KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (23)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete