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)

Alan_SP 01-29-2017 08:19 AM

I went https on my site and old definitions were using http protocol, so it means videos are considered problem.

I tried to sort this out with AME, but it didn't worked. It was strange, I had correct definitions (just change http to https and leave rest as it is, it works this way with youtube, which is main source of videos, guess it works for some other services), but it didn't helped.

Till I found that some definitions worked, some not.

Well, problem was that at least for me AME didn't changed correctly video_bbcode template. I needed manually to edit template. After that, videos work.

Not sure what went wrong.

In case that someone of you have same problem.

incisor 02-23-2017 12:14 AM

Quote:

Originally Posted by Alan_SP (Post 2581478)
Well, problem was that at least for me AME didn't changed correctly video_bbcode template. I needed manually to edit template. After that, videos work.

could you elaborate please...

Alan_SP 02-23-2017 04:29 PM

It's as I wrote: AME for some reason didn't changed video_bbcode template.

You edit video definition, you save it. But it doesn't get saved into video_bbcode template. Some did get saved. This gave me idea to check template and there I manually entered correct (https) definitions.

Which also lead me to remember that I tried to make some definitions (facebook) that didn't worked. Now I think that this is because AME didn't saved definitions into template. If I try again to play with this, I'll check template manually, just to be sure I have it there also.

sticky 07-22-2017 05:55 PM

I apologize if I missed it but does anyone have this working with Instagram?

unitedpunjab 07-25-2017 07:18 AM

Instagram

RegEx:
Code:

[https]*://[www\.]*instagram\.com/p/(.*)
Replacement HTML:
Code:

<div align='center'>
<blockquote style="width:480px;" class="instagram-media" data-instgrm-captioned data-instgrm-version="7">
<a rel="nofollow" href="https://www.instagram.com/p/$p1"></a></blockquote></div>
<script async defer src='//platform.instagram.com/en_US/embeds.js'></script>


sticky 07-25-2017 11:26 PM

Quote:

Originally Posted by unitedpunjab (Post 2588860)
Instagram

RegEx:
Code:

[https]*://[www\.]*instagram\.com/p/(.*)
Replacement HTML:
Code:

<div align='center'>
<blockquote style="width:480px;" class="instagram-media" data-instgrm-captioned data-instgrm-version="7">
<a rel="nofollow" href="https://www.instagram.com/p/$p1"></a></blockquote></div>
<script async defer src='//platform.instagram.com/en_US/embeds.js'></script>


It's adding the video tags but the embed code isn't working for some reason?

unitedpunjab 07-26-2017 06:51 AM

This url format works for me,

Code:

https://www.instagram.com/p/SomeId123/

bfdzio 07-27-2017 11:08 AM

Anyone have any clue what is going on here?
https://vborg.vbsupport.ru/external/2017/07/12.png

If you quote reply a guy who has more than 1 AME processed tweet, anything you type appears inside the quote box. If I edit a post that somebody quoted and remove all of the twitter embeds except one and then save it, the text will then be outside of the quote box and fixed. So..anyone have any idea? I thought it could be related to the quote expander I have but I removed that on a test style and no go.

sticky 07-27-2017 07:33 PM

Quote:

Originally Posted by unitedpunjab (Post 2588889)
This url format works for me,

Code:

https://www.instagram.com/p/SomeId123/

I appreciate your help but the replacement html code just isn't working for me. Just no embed for some reason.

Not sure what to do but thanks for trying.

sticky 07-28-2017 12:32 AM

Quote:

Originally Posted by unitedpunjab (Post 2588860)
Instagram

RegEx:
Code:

[https]*://[www\.]*instagram\.com/p/(.*)
Replacement HTML:
Code:

<div align='center'>
<blockquote style="width:480px;" class="instagram-media" data-instgrm-captioned data-instgrm-version="7">
<a rel="nofollow" href="https://www.instagram.com/p/$p1"></a></blockquote></div>
<script async defer src='//platform.instagram.com/en_US/embeds.js'></script>


Would someone else be able to double check if this works or if it is the code perhaps?


All times are GMT. The time now is 02:14 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.03372 seconds
  • Memory Usage 1,747KB
  • 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
  • (8)bbcode_code_printable
  • (4)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