MyBB Community Forums

Full Version: Release: My Youtube v1.3 [Update]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6
I found out that in IE the button will appear when refreshing the reply/message window.

In my Help file I added following to the MyCode help section:

To insert a YouTube movie in your post you can do one of the following
(Note that we cannot give a 100% guarantee this plugin will work)
Please make sure to allow the popup script to appear when you have popups blocked in your browser settings.
1. In the message/post reply window you'll find a YouTube button.
When you click on this button, a popup will appear. Here you need to insert the LAST part of the YouTube video URL (so only the xxxxxxxxxxx at the end of the URL needs to be filled into the popup, instead of the complete URL http://www.youtube.com/watch?v=VGK9techDls). Then it will insert the YouTube video in your post.

2. Another way is to add [youtube]xxxxxxxxxxx[/youtube] in your post where the 'xxxxxxxxxxx' are the LAST digits from the YouTube URL

To be able to use the second choise you need to create a own YouTube MyCode in the ACP.

In the regular expression window you need to insert:
\[youtube\](.*?)\[/youtube\]

In the 'replace' by window you need to insert:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/$1&hl=de&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/$1&hl=de&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344"></embed></object>

I found the above code around here somewhere in the MyBB forum... I just don't know exactly who wrote it anymore.:-(

Most important is that there is another way besides the plugin to get it to work
[Image: javascripterror.png]

this gives error in IE saying JS something

since i disabled this mod, everything is back to normal with no errors in IE anymore
Hi guys,

I have updated my plugins sorry for the delay...

thanks.
hey 1 question

i have this other mybbmod and would like your tool bar ( not youtube ) since the one im using has it already but at least to work for these alltogether as 1 toolbar showing

http://community.mybboard.net/thread-559...=automedia

let me know
you mean, how to make a custom button appear on toolbar??

take alook at My Youtube source code, here is the snip:

.my-youtube-toolbar {
            position:absolute;
            left: 350px; top: 8px;
            padding: 1px;
            border:1px solid transparent;
            width:40px;height:17px;
            z-index:999;
            float:left;
}

The trick is simple, make the div absolute and inject it one of editor_toolbar_container_top or editor_toolbar_container_bottom.

Event.observe(window, 'load', function() {
new Insertion.After("editor_toolbar_container_top", '<a onclick="my_youtube_add_video()" href="javascript:void(0);" title="Embed Youtube Video" class="my-youtube-toolbar"><img src="YOUR_IMG_LOCATION" alt="Youtube Logo" title="Embed Youtube Video" /></a>');
});

someone else has different way to display the button, see this:
http://community.mybboard.net/thread-61564.html

hope helps...
(2009-08-25, 01:24 AM)technoman Wrote: [ -> ][Image: javascripterror.png]

this gives error in IE saying JS something

since i disabled this mod, everything is back to normal with no errors in IE anymore



With the new version this error is still there.
Also there is no button to add a video in the start new thread.

I hope finaly after 2 years somebody can repair this things or that somebody can start a good working plugin.
@Spinning

Sorry for that, I do not have a Windows box so it's quite hard to me to debug the error. I have test my plugin in 3 major browser engine: Gecko (Firefox), Presto(Opera), Webkit (Chrome & Safari) all works fine...

I may fix it soon...

thanks for reporting the bug... Wink
I have fixed IE javascript bugs. now My Youtube depend on Toolbar Contaiter plugin for displaying the button

download TC Plugin at
http://www.rioastamal.net/mybb/toolbar-container/

thanks... Smile
Only the version 1.1 is working fine,
@Azizone05

So the latest version did not work for you?
have you install and activate the "Toolbar Container" plugin? Since version 1.3 my youtube depends on this plugin for displaying button
http://www.rioastamal.net/mybb/toolbar-c...er-1.0.zip

In this zipfile is a unknown file!!!!!!
Pages: 1 2 3 4 5 6