Advertisement:

Author Topic: Simple Audio Video Embedder  (Read 892769 times)

Offline SMFHacks.com Team

  • Full Member
  • ***
  • Posts: 440
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: Simple Audio Video Embedder
« Reply #3340 on: November 17, 2020, 02:37:15 PM »
5.1.5
+Added support for Gfycat
Disclaimer: SMFHacks.com Team is not affiliated with the SMF Team or the SimpleMachines NPO.

http://ForumRankings.net - Get Forum Ranked!
SMFHacks.com -  Paid Modifications for SMF
Latest Mods:
Community Suite
Newsletter Pro SMF Gallery Pro SMF Classifieds SMF Store

Offline nax

  • Jr. Member
  • **
  • Posts: 393
  • Gender: Male
Re: Simple Audio Video Embedder
« Reply #3341 on: November 18, 2020, 06:44:09 AM »
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!

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,059
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3342 on: November 18, 2020, 08:44:07 AM »
Fixed
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

Offline dowhelp

  • Semi-Newbie
  • *
  • Posts: 50
Re: Simple Audio Video Embedder
« Reply #3343 on: November 21, 2020, 10:55:32 PM »
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: [Select]
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...


Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,059
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3344 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
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

Offline dowhelp

  • Semi-Newbie
  • *
  • Posts: 50
Re: Simple Audio Video Embedder
« Reply #3345 on: November 21, 2020, 11:07:10 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

Code: [Select]
// Cache the output if it took some time...

Thank you

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,059
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3346 on: November 21, 2020, 11:08:19 PM »
Sure if removing the mod.
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

Offline dowhelp

  • Semi-Newbie
  • *
  • Posts: 50
Re: Simple Audio Video Embedder
« Reply #3347 on: November 21, 2020, 11:11:03 PM »
Would you suggest just to install the new mod on top?

Would that just save the existing uninstall issue for later?

Regards

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,059
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3348 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.
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

Offline dowhelp

  • Semi-Newbie
  • *
  • Posts: 50
Re: Simple Audio Video Embedder
« Reply #3349 on: November 21, 2020, 11:19:16 PM »
Yes, I recommend just installing the new one on top thats what I do unless this mod says otherwise.

Thank you

Online alexetgus

  • Sr. Member
  • ****
  • Posts: 751
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: Simple Audio Video Embedder
« Reply #3350 on: November 27, 2020, 07:37:25 AM »
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

Online alexetgus

  • Sr. Member
  • ****
  • Posts: 751
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: Simple Audio Video Embedder
« Reply #3351 on: November 27, 2020, 07:39:03 AM »
As a reminder : ::)


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>

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,059
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3352 on: November 27, 2020, 11:02:08 AM »
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

Online alexetgus

  • Sr. Member
  • ****
  • Posts: 751
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: Simple Audio Video Embedder
« Reply #3353 on: November 27, 2020, 01:53:33 PM »
It happened at IBM, but the links of channels don't change.

https://ustream.tv/channel/9408562

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,059
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3354 on: November 27, 2020, 05:47:49 PM »
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

Online alexetgus

  • Sr. Member
  • ****
  • Posts: 751
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: Simple Audio Video Embedder
« Reply #3355 on: November 27, 2020, 05:55:41 PM »
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 :
Code: [Select]
<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>

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,059
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3356 on: November 27, 2020, 06:25:00 PM »
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

Online alexetgus

  • Sr. Member
  • ****
  • Posts: 751
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: Simple Audio Video Embedder
« Reply #3357 on: November 27, 2020, 06:38:19 PM »
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.


Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 23,059
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3358 on: November 27, 2020, 07:17:45 PM »
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

Online alexetgus

  • Sr. Member
  • ****
  • Posts: 751
  • Gender: Male
    • alexetgus on Facebook
    • alexetgus on GitHub
    • @alexetgus on Twitter
    • Chez oim, forum libre !
Re: Simple Audio Video Embedder
« Reply #3359 on: November 27, 2020, 07:20:15 PM »
All right, let's not talk about it anymore. ;D