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

SMFHacks.com Team

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

nax

Installed but got this message

Your Version: 5.1.5 Latest Version: 5.1.4 Your Simple Audio Video Embedder version is not up to date!

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

dowhelp

Hi Vbgamer45

I am trying to install the latest version but get an error when I uninstall the v5.12.

Please advise.

Thank you


Code: (Find) [Select]

// Auto Embed Media Pro
global $sourcedir, $modSettings;
if (file_exists($sourcedir . '/AutoEmbedMediaPro2.php'))
{

require_once($sourcedir . '/AutoEmbedMediaPro2.php');
$message = MediaProProcess($message);
   
}

// End Auto Embed Media Pro
// Cache the output if it took some time...

Code: (Replace) [Select]

// Cache the output if it took some time...



vbgamer45

Try to uninstall that part of the code manually.

Follow guide by uploading the mod to https://www.smfhacks.com/smf-package-parser.html
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

dowhelp

Quote from: vbgamer45 on November 21, 2020, 10:58:39 PM
Try to uninstall that part of the code manually.

Follow guide by uploading the mod to https://www.smfhacks.com/smf-package-parser.html

So I would just replace the existing code with

// Cache the output if it took some time...


Thank you

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

dowhelp

Would you suggest just to install the new mod on top?

Would that just save the existing uninstall issue for later?

Regards

vbgamer45

Yes, I recommend just installing the new one on top thats what I do unless this mod says otherwise.
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

dowhelp

Quote from: vbgamer45 on November 21, 2020, 11:15:16 PM
Yes, I recommend just installing the new one on top thats what I do unless this mod says otherwise.

Thank you

alexetgus

Hi,

Did you forget my proposals or is it voluntary?  :'(




5.1.5
+Added support for Gfycat

5.1.4
!Fixed Twitch.tv embed code.
Note Twitch only works on SSL sites!

5.1.3
+Added support for videoclip.bg

5.1.2
+Added support for Telegram

5.1.1
+More support for youtu.be/watch?v=

5.1
!Removed old sites from new installs that no longer work

5.0.5
+Added TikTok support

5.0.4
+Added support for Buzzsprout

alexetgus

As a reminder : ::)


Quote from: alexetgus on October 01, 2020, 03:02:31 PM
REGEX and IFRAME for codepen.io and ustream.tv

codepen.io :
https?://codepen.io/(.+)/pen/(.+)

<iframe width="800" height="450" src="https://codepen.io/$1/full/$2" frameborder="0" allowfullscreen title="CodePen.io"></iframe>




ustream.tv :
https?://ustream.tv/channel/([0-9]+)

<iframe width="800" height="450" src="https://ustream.tv/embed/$1" frameborder="0" allowfullscreen title="UStream video"></iframe>

vbgamer45

I don't think ustream.tv works anymore... redirects to ibm
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

alexetgus

It happened at IBM, but the links of channels don't change.

https://ustream.tv/channel/9408562

vbgamer45

Visited the channel id but how do normally get the id? I see in the url it redirects to a title instead of numbers
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

alexetgus

This is not important, the iframe follows the redirections without any problem.
This is due to the fact that a channel can have several channels.

But it works very well with share numbers ;)
For example :
https://chez-oim.org/index.php/topic,797.0.html

The link is converted to :
<iframe width="800" height="450" data-dnt-embed="" data-src="https://ustream.tv/embed/9408562" scrolling="no" allowfullscreen="" webkitallowfullscreen="" frameborder="0" style="border: 0 none transparent;" title="Vidéo UStream" src="https://ustream.tv/embed/9408562"></iframe>

vbgamer45

Update
5.1.6
+Added support for codepen.io
+Added back support for ustream.tv
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

alexetgus

I saw that. Thank you.  :)

What would be very nice would be separate SQL files according to the language of the user.
Audio-Video-Embedder-fr.sql, Audio-Video-Embedder-ru.sql, etc, etc... ;)

Internet users' preferences change depending on the country.
Just ask which sites the Internet users want, and if possible, an example of a link with REGEX.


vbgamer45

At some point. I plan to also have a site just for auto embeding one day
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

alexetgus

All right, let's not talk about it anymore. ;D

Advertisement: