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)
-   -   BB Code Enhancements - Embed XHTML valid YouTube and Google Video into your posts (https://vborg.vbsupport.ru/showthread.php?t=130868)

tehPARADOX 04-14-2007 06:48 AM

Quote:

Originally Posted by RidinHighSpeeds (Post 1121079)
Now if I submit my reply without entering in a title within the tags, it does not display the video.

I am having this particular problem, & although you've replied to it; it didn't really address how to fix this issue.

Perhaps you or the plugin forgot to add in the custom BB code for YouTube Video with No Title, such as the Google's Google Video with No Title BB code. So posting a youtube video without title will not display.

EDIT: Did a complete uninstall and reinstall, now missing custom bb code is added. Not sure why it didn't have it in the first place, so please disregard this post.

yaworski 04-15-2007 08:10 PM

This is great but you should consider adding something like this:
Add this to the <tr> where the flash object is in.
Code:

style="display: none"
and add this just after that one (that with flash object)
Code:

        <tr>
                <td onclick="this.parentNode.style.display = 'none'; this.parentNode.parentNode.getElementsByTagName('tr')[0].style.display = '';">
                Click here to display the video.
                </td>
        </tr>

I tested it on FF2.0 and IE7 and this works good. Don't know if it works on IE6 yet, because I don't have it anymore. Opera should be fine.

I checked this on FF with Temper Data extension (shows requests that are made by FF) and the flash is not loaded when it is not displayed (display: none) and loads just after clicking on the predefined text. I know that not everyone will want that change so maybe you could add this as an alternative version? This would save users some bandwidth when they open thread with many videos (not everybody wants to watch all the videos).

----edit----

Oh and one more thing. I think that using opaque wmode in flash is slightly faster than transparent (it doesn't need to check if flash has transparent parts). This still works like transparent in context of dynamic html (works well with z-index).

taumau 04-17-2007 04:21 PM

How about DailyMotion videos? :(

Viper007Bond 04-19-2007 01:25 PM

Quote:

Originally Posted by taumau (Post 1229815)
How about DailyMotion videos? :(

Sadly the embed code has nothing in common with the URL in your address bar, so it makes it rather hard for the average user.

Da`Nacho 04-21-2007 05:14 AM

Great work, but you need to make this more aware of vBulletin's NOPARSE bbCode.

I've noticed from your example page that you don't seem to be aware of it either. (You've got spaces in your example bbcode to avoid parsing instead). If you wrap code in [noparse][/noparse] tags then vBulletin will not parse any bbCode commands inside them. This was added in 3.5.x and up. It's VERY handy for showing examples to your forum members! :)

I've noticed (when citing examples for the members of my forum) that if you wrap your bbcode (gvideo] or [youtube] in noparse tags, and you have a Youtube or Google URL inside, the Google Video or Youtube document id will still be parsed out of it and displayed instead of the entire URL.

so for example:

[noparse][youtube]http://www.youtube.com/watch?v=XhgVIbO83o4[/youtube][/noparse]

will actually display

[noparse][youtube]XhgVIbO83o4[/youtube][/noparse]

tanyeri24 04-27-2007 11:17 PM

Quote:

Originally Posted by Breathex (Post 1166205)
i also need this as soon as possible please

here too

VG Pros 05-06-2007 04:48 PM

I installed this on 3.6.5 and when I highlight the url and then click on the YouTube button it says it puts [youtube]http://example.com[/youtube]. Then I post it and all I get is a link. Then I went to edit it and this is what it looks like:

[youtube]
[/youtube]
[youtube][url]http://www.youtube.com/watch?v=Q7Us6a-8cck[url][/youtube]

Queball_Beast 05-08-2007 01:15 AM

I too am having this same problem with 3.65 is there a fix for this or a reason why it is happening?
:confused:
Quote:

Originally Posted by VG Pros (Post 1242546)
I installed this on 3.6.5 and when I highlight the url and then click on the YouTube button it says it puts [youtube]http://example.com[/youtube]. Then I post it and all I get is a link. Then I went to edit it and this is what it looks like:

[youtube]
[/youtube]
[youtube][url]http://www.youtube.com/watch?v=Q7Us6a-8cck[url][/youtube]


bornoffire 05-08-2007 10:53 PM

Quote:

Originally Posted by Queball_Beast (Post 1243378)
I too am having this same problem with 3.65 is there a fix for this or a reason why it is happening?
:confused:

Make that 3

Queball_Beast 05-08-2007 11:07 PM

I read through all threads and stil have not found a fix, does anyone have a fix for this issue?

[
Quote:

youtube]
[/youtube]
[youtube][url]http://www.youtube.com/watch?v=Q7Us6a-8cck[url][/youtube]


All times are GMT. The time now is 07:39 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.01231 seconds
  • Memory Usage 1,746KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete