vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   BB Code Enhancements - AME3 - Auto Media Embeding and Video Extender (https://vborg.vbsupport.ru/showthread.php?t=230707)

sticky 01-30-2014 05:37 AM

Can anything be done about mobile youtube links auto embedding? Ones that start with m.xxxx.com?

sticky 01-30-2014 05:53 AM

For example a link like this: http://m.youtube.com/watch?gl=US&hl=...&v=derzWWYf3-w

Cell phone users can't figure out how to embed the videos so a definition for mobile would be very, very useful.

sticky 02-01-2014 11:49 AM

Quote:

Originally Posted by sticky (Post 2477899)
For example a link like this: http://m.youtube.com/watch?gl=US&hl=...&v=derzWWYf3-w

Cell phone users can't figure out how to embed the videos so a definition for mobile would be very, very useful.

Anyone?

Alan_SP 02-01-2014 10:44 PM

Solution for this is you create new description:

Provider: YouTube - mobile (you can put here any name you want, as long as it is unique).

Tagoption: youtubem (you can put here any name you want, as long as it is unique).

URL: http://m.youtube.com

Regex URL: http:\/\/m\.youtube\.com\/watch\?.*v=([a-z0-9-_]+)

Regex Scrape (leave this empty)

Embed: <object width="660" height="400"><param name="movie" value="http://www.youtube.com/v/{vb:raw code}?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{vb:raw code}?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="400"></embed></object>

(put here code you already use on your forum for other YT videos, so you have uniform videos in your posts)

Priority: 0

rotor 02-06-2014 09:56 PM

Quote:

Originally Posted by Digital Jedi (Post 2469326)
A Google Maps definition hasn't been made for AME 3 yet. It's on a large list of things I intend to add. But you would find it in the AME 3 definitions thread, when it's available. You wouldn't be able to use coordinates. AME is for embedding links, not key words. So you need whatever the URL was for the coordinates you have in mind to make that work.

Any progress on the Google Maps definition?? Really need something to point a map at places in threads .... ;)

Alan_SP 02-06-2014 10:11 PM

If you really need it, use BBcode for that purpose.

rotor 02-06-2014 10:47 PM

Are you referring to this thread?

https://vborg.vbsupport.ru/showthread.php?t=220936

ok hadn't added any BBC before, this worked great .... thx

sticky 02-10-2014 06:52 PM

Quote:

Originally Posted by Alan_SP (Post 2478482)
Solution for this is you create new description:

Provider: YouTube - mobile (you can put here any name you want, as long as it is unique).

Tagoption: youtubem (you can put here any name you want, as long as it is unique).

URL: http://m.youtube.com

Regex URL: http:\/\/m\.youtube\.com\/watch\?.*v=([a-z0-9-_]+)

Regex Scrape (leave this empty)

Embed: <object width="660" height="400"><param name="movie" value="http://www.youtube.com/v/{vb:raw code}?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/{vb:raw code}?fs=1&amp;hl=en_US&amp;rel=0&amp;hd=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="660" height="400"></embed></object>

(put here code you already use on your forum for other YT videos, so you have uniform videos in your posts)

Priority: 0

This works perfectly! Thank you so much been looking for a way to get mobile video links to auto-embed for a while now.

Thank you!

Alan_SP 02-10-2014 08:25 PM

No problem. :up:

You can mimic this code in case if there's new YT video links, just adjust key settings to comply with new links.

biftek 02-28-2014 10:04 PM

how can i stop the site list appearing in the "insert video box"


All times are GMT. The time now is 04:25 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.02756 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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