vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   BB Code Enhancements - YouTube BB Code (W3C-compliant!) (https://vborg.vbsupport.ru/showthread.php?t=194246)

james-76 03-30-2009 08:49 AM

This is not working with firefox from today but works fine with IE.
http://www.birdiechance.co.uk/forums...read.php?t=601

Do you have any idea what the issue could be?

Fangs404 03-31-2009 05:02 AM

It's working just fine for me. It's an issue on your end. Check that you have the latest version of Flash and that you have no conflicting FF extensions (check AdBlock or NoScript).

Fangs404 03-31-2009 05:27 AM

I just modified both BB codes so that the full screen button is now available. I didn't realize it was missing until someone just told me yesterday.

james-76 03-31-2009 07:48 PM

I have an idea that you might like to add :)

How you have "Borked"

I have changed it to "Video Error - Check here to make sure you have added it correctly."

This takes them to the FAQ so they can see the example etc.

Ok heres my idea I hope you are able to do it.

Instead of "Borked" could you make it so its an actual link to the correct video on youtube that opens in a new window? This way if the embedding fails on a site like it has mine a few times then it would show a link to video instead.

Thanks a lot :)

Fangs404 04-01-2009 03:49 PM

Quote:

Originally Posted by james-76 (Post 1781281)
I have an idea that you might like to add :)

How you have "Borked"

I have changed it to "Video Error - Check here to make sure you have added it correctly."

This takes them to the FAQ so they can see the example etc.

Ok heres my idea I hope you are able to do it.

Instead of "Borked" could you make it so its an actual link to the correct video on youtube that opens in a new window? This way if the embedding fails on a site like it has mine a few times then it would show a link to video instead.

Thanks a lot :)

I like that idea a lot.

james-76 04-02-2009 07:07 AM

Maybe you could have it as:

Quote:

"If no video is showing it could have been added incorrectly or there could be a technical issue.
Click here to view the video on youtube's site. (links to youtube and the correct video)

If you have added this video click here to make sure you have added it correctly. " (links to FAQ about youtube tag and example)
Of course the above would all be worded how you wish as I am just giving rough examples :p

It says a lot more than one word but it would stop us all coming back here asking whats the problem especially for human error.
I would think you could do this pretty easily but what do I know :eek:
Thanks for saying you liked the idea :) I hope at some point in the future you have some time to give it a try.

Regards,
James

Fangs404 04-02-2009 07:40 PM

OK, here's what I changed it to.

HTML Code:

Something went wrong.  Please make sure you added the video correctly.  Click <a href="misc.php?do=bbcode">here</a> to see how YouTube videos should be embedded.  There could also be a technical issue that's not your fault.  Click <a href="http://www.youtube.com/watch?v={param}">here</a> to view the video on YouTube's site.  If this link doesn't work, you did something wrong.
Thanks for the recommendation. Hopefully this'll save some headaches.

james-76 04-02-2009 08:22 PM

Thit is perfect :) Thanks very much for your time.

I altered it a little on my site so itgoes straight to the youtube bbcode instead of all bb codes.

<a href="misc.php?do=bbcode#youtube" target="_blank">

Also I made both links open in seperate windows as this suits me but may not suit others :)

Thanks once again.



Code:

<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{param}&fs=1" width="644" height="390"><param name="movie" value="http://www.youtube.com/v/{param}&fs=1" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" />Something went wrong. Please make sure you added the video correctly. Click <a href="misc.php?do=bbcode#youtube" target="_blank">here</a> to see how YouTube videos should be embedded. There could also be a technical issue that's not your fault. Click <a href="http://www.youtube.com/watch?v={param}" target="_blank">here</a> to view the video on YouTube's site. If this link doesn't work, you did something wrong.</object>

Fangs404 08-12-2009 03:56 AM

Unfortunately, it appears that YouTube has removed the ability to embed HQ and HD videos using the &fmt=22 trick. As a result, I'm going to remove the youtubehd tag from my script.

Fangs404 08-17-2009 08:06 PM

OK, HD videos will work again. I had to change &fmt=22 to &hd=1.


All times are GMT. The time now is 09:34 AM.

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.01215 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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