News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Simple Audio Video Embedder

Started by SMFHacks.com Team, August 09, 2010, 10:42:47 PM

Previous topic - Next topic

alexetgus

Quote from: badon on July 03, 2016, 01:48:52 AM
Is there a way to NOT embed a video, and just get a plain link? I'm trying to put a plain link into forum signatures, but it embeds the video. I even tried using HTML tags with an HTML link, in case that would prevent it from being embedded, but it didn't work. Ideas?

Edit the REGEX in the database.

Example :
Before :
htt(p|ps)://[\w.]+youtube\.[\w]+/watch[(\?|\?feature=player_embedded&)\#!]+v=([\w-]+)[\w&;+=-]*[\#t=]*([\d]*)[&;10wshdq=]*

After :
(?<!])htt(p|ps)://[\w.]+youtube\.[\w]+/watch[(\?|\?feature=player_embedded&amp;)\#!]+v=([\w-]+)[\w&;+=-]*[\#t=]*([\d]*)[&;10wshdq=]*

This URL matche in mediapro : https://www.youtube.com/watch?v=xxxxxxxx
This URL not matche in mediapro : [url]https://www.youtube.com/watch?v=xxxxxxxx[/url]

All the BBCode block mediapro.

CreativeITWorld.com

#2541
How to Automatically Center Videos

Before installation, open AutoEmbedMediaProInstall2.php

Find <iframe
Replace with <div align="center"><iframe

Find </iframe>
Replace with </iframe></div>

Do the same with Object and Embed.

Save, upload and install.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

CreativeITWorld.com

Thanks. And thank you for the Mod.

I finally decided to chuck AEVA after switching my site over to SSL.

lord alibaski

Quote from: SMFHacks.com Team on February 14, 2016, 11:29:46 AM
Update
3.6
+Added support for sendvid
+New facebook version v5 for videos. You must check that option in settings
!Fixed instagram for SMF 1.1.x
+Updated jibjab regex

Sorry for the very late thank you for the support of sendvid I have been very busy myself of late and actually forgot all about it, then I noticed the latest version of the Embedder supporting it....so once again big thanks.

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Raffoz

I have a very long post: 165.000 characters.

For video I used Aeva Mod.
Today I changed to this mod.

The video playback works perfectly.

But the long post, when I activate all video and audio sources, doesn't appear:
- the post appears empty;
- but if I click "modufy" the text is still there;
- if I click "Print", it appears.

Any idea?




If I only activate the sources I need (Vimeo, Youtube, Google, Soundcloud) the post appears.
If I activate all the sources, the post doesn't appear.
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

vbgamer45

It most be a bug with one of the embed codes. Only enable the ones you need. Or see if you can figure out the exact one that causes the issue.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Raffoz

Quote from: vbgamer45 on August 12, 2016, 10:01:45 AM
It most be a bug with one of the embed codes. Only enable the ones you need. Or see if you can figure out the exact one that causes the issue.

I tried, but are too many :)
If I can isolate it, I'll write here again, tks!
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

Raffoz

Is it possible to disable the video embed function or to inactivate it, for example, when i put the link in the url code?

If i write:

- www.vim*o.com/12345678 --> the video appears
- [url=www.vim*o.com/12345678]link[/url] --> the video shouldn't appear
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

vbgamer45

No, you would have to make the link different so it is not picked up.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

luuuciano

Quote from: Raffaele1977 on August 12, 2016, 01:43:29 PM
Is it possible to disable the video embed function or to inactivate it, for example, when i put the link in the url code?

If i write:

- www.vim*o.com/12345678 --> the video appears
- [url=www.vim*o.com/12345678]link[/url] --> the video shouldn't appear


Look at reply #2540
No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Raffoz

Quote from: luuuciano on August 13, 2016, 01:41:26 PM
Quote from: Raffaele1977 on August 12, 2016, 01:43:29 PM
Is it possible to disable the video embed function or to inactivate it, for example, when i put the link in the url code?

If i write:

- www.vim*o.com/12345678 --> the video appears
- [url=www.vim*o.com/12345678]link[/url] --> the video shouldn't appear


Look at reply #2540

Ok, tks.
But in what situation the video will not be embedded?
MacOsX (last)
SMF 2.0.15 and 2.1.2 (different forums)
Chrome (last) or Safari (last)

B20

Love the mod! Is there a simple way to disable embedding in Simpleportal's shoutbox?

B20

Quote from: B20 on August 14, 2016, 09:59:40 AM
Love the mod! Is there a simple way to disable embedding in Simpleportal's shoutbox?

Went back into the topic and saw that this had already been addressed:
Quote from: vbgamer45 on May 23, 2015, 12:33:09 AM
You would need to modify when ever the shoutbox is called to include this code

$context['save_embed_disable'] = 1;


Then disable again after the shoutbox is loaded.

Thanks :)

shawnb61

Hi all -

I am also experiencing the first issue reported in reply #2530 above.   Specifically, with Local mp4 enabled, the generated code truncates the filename before the ".mp4" by one character.   Add a single character there, & it works!

I checked about 10 .mp4 links on my site, and 9 failed.  For some reason, 1 worked.   I unchecked the Local mp4 box so now we're just displaying the links again. 

Thanks for all the hard work, this is an excellent mod. 

Let me know if you need any more info. 
Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

SMFHacks.com Team

Update
3.6.3
!Fixed bug with local mp4
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

shawnb61

Folks - FYI, I'm seeing the same .mp4 behavior with 3.6.3 - I think the issue is still there



Address the process rather than the outcome.  Then, the outcome becomes more likely.   - Fripp

@rjen

I am finding issues with the display of Facebook Video (New v5) in my forum:

when initially displayed, the video is sized to 100% width, and the display is ignoring the max width settings in the mod settings.
Then, when someone ' quotes'  the post, the layout of my theme is distorted in a way that suggest a non-closed <div> somewhere in the mod?

See attached screenshot.

Deactivating the option for Facebook Video (New v5) solves the problem...
Running SMF 2.1 with latest TinyPortal at www.fjr-club.nl

vbgamer45

I don't see any missing  code below

<div id="fb-root"></div><script>(function(d, s, id) {  var js, fjs = d.getElementsByTagName(s)[0];  if (d.getElementById(id)) return;  js = d.createElement(s); js.id = id;  js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3";  fjs.parentNode.insertBefore(js, fjs);}(document, "script", "facebook-jssdk"));</script><div class="fb-video" data-allowfullscreen="1" data-href="https://www.facebook.com/video.php?v=$5"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/video.php?v=$5"><a href="https://www.facebook.com/video.php?v=$5"></a></div></div>
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Advertisement: