Advertisement:

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

Offline DarkAngel612

  • Sophist Member
  • *****
  • Posts: 1,044
  • Gender: Female
Re: Simple Audio Video Embedder
« Reply #3100 on: January 15, 2019, 08:03:53 PM »
ok, then I will try it again and maybe it is like some other vids like to do...you insert link in post but nothing appears in preview window. I will go to my test forum and try doing it totally. I still need to reupload new pristine files for the main forum...even if just to clean up the codes of the mods...LOL
Thanks
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Offline Shambles

  • SMF Hero
  • ******
  • Posts: 5,167
  • Gender: Male
    • i30 Owners Club
Re: Simple Audio Video Embedder
« Reply #3101 on: January 16, 2019, 03:52:05 AM »
Quote
you insert link in post but nothing appears in preview window

Nothing appears in my preview window - you need to post the message.

Offline DarkAngel612

  • Sophist Member
  • *****
  • Posts: 1,044
  • Gender: Female
Re: Simple Audio Video Embedder
« Reply #3102 on: January 16, 2019, 03:46:10 PM »
That is what was happening with all videos -- in the beginning of 2-3 updates ago but not anymore...LOL Thanks for letting me know for certain.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

Offline AllMassive

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Simple Audio Video Embedder
« Reply #3103 on: January 28, 2019, 07:19:45 PM »
Update!

4.3
+Added support for spotify thanks to butch2k
+Peformance increase for 2.0 not parsing for search engine robots thanks to shawnb61

Thanks - but i'm unable to use 'real' Spotify-Urls like:
spotify:track:1wdo8mIDzc8tlHP2RHMZ71

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3104 on: January 28, 2019, 08:42:02 PM »
Not at the moment. What would the web url look for that?
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 AllMassive

  • Jr. Member
  • **
  • Posts: 144
  • Gender: Male
Re: Simple Audio Video Embedder
« Reply #3105 on: January 29, 2019, 06:14:40 PM »
Just tried a 'regular' Spotify-Link:

https://open.spotify.com/track/5IsNoD2x1vQEZ6RrTNjho4?si=mO8HJDr-Sb-C4PImYlvgqA
spotify:track:5IsNoD2x1vQEZ6RrTNjho4

Like here in my Forum the first URL is just 'clickable'.

Offline SMFHacks.com Team

  • Full Member
  • ***
  • Posts: 409
    • smfhacks on Facebook
    • @smfhacks on Twitter
    • SMFHacks.com
Re: Simple Audio Video Embedder
« Reply #3106 on: February 05, 2019, 05:38:56 PM »
4.5.3a
+Added install support for SMF 2.1 RC1
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 natcip

  • Semi-Newbie
  • *
  • Posts: 90
Re: Simple Audio Video Embedder
« Reply #3107 on: February 17, 2019, 02:01:59 PM »
Hello,

I suddenly got this error message:
Quote
Table 'name_sql1.domain_sql1_smf_mediapro_sites' doesn't exist
File: /home/www/name/Sources/AutoEmbedMediaPro2.php
Line: 275

Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.11, while your database is at version 2.0.10. The above error might possibly go away if you execute the latest version of upgrade.php.

It appears on the entire board. I've tried running the latest upgrade.php but it didn't work.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3108 on: February 17, 2019, 02:03:08 PM »
Download the mod then  run the file AutoEmbedMediaProInstall2.php on your website in the browser and that will recreate that database table.
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 natcip

  • Semi-Newbie
  • *
  • Posts: 90
Re: Simple Audio Video Embedder
« Reply #3109 on: February 17, 2019, 02:10:58 PM »
Download the mod then  run the file AutoEmbedMediaProInstall2.php on your website in the browser and that will recreate that database table.
I did that and I got the exact same error message.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3110 on: February 17, 2019, 02:22:14 PM »
Does the table smf_mediapro_sites exist in your database?
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 natcip

  • Semi-Newbie
  • *
  • Posts: 90
Re: Simple Audio Video Embedder
« Reply #3111 on: February 17, 2019, 02:27:23 PM »
Does the table smf_mediapro_sites exist in your database?
No, seems it doesn't.
How do I create the table? Sorry for the question but I rarely meddle in databases.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3112 on: February 17, 2019, 02:31:51 PM »
The install script should have done it but you can run this sql
Code: [Select]
CREATE TABLE IF NOT EXISTS smf_mediapro_sites (
  id int(11) NOT NULL auto_increment,
  title varchar(255),
  enabled tinyint default 0,
  website varchar(255),
  regexmatch text,
  embedcode text,
  processregex text,
  height int(5) default 0,
  width int(5) default 0,

  PRIMARY KEY (id)
)

That will fix the error but not load the video sites.
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 natcip

  • Semi-Newbie
  • *
  • Posts: 90
Re: Simple Audio Video Embedder
« Reply #3113 on: February 17, 2019, 02:44:16 PM »
Thank you. :) This fixed the error. Embedding Instagram and Youtube seems to work fine though.

Offline natcip

  • Semi-Newbie
  • *
  • Posts: 90
Re: Simple Audio Video Embedder
« Reply #3114 on: February 19, 2019, 01:48:41 PM »
Hi, sorry for the double post.
I've upgraded SMF yesterday and I'm now re-installing the mods I had before.
I still can't run AutoEmbedMediaProInstall2.php.
This is the error message (which appears on the whole site).
Code: [Select]
Table 'name_sql1.domain_sql1_smf_mediapro_sites' doesn't exist
File: /home/www/name/Sources/AutoEmbedMediaPro2.php
Line: 293
^The error message also shows up in unformatted text when I want to load AutoEmbedMediaProInstall2.php

I tried running the SQL like vgamer45 said, but it didn't work.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3115 on: February 19, 2019, 01:57:12 PM »
Are you running MySQL? that install script should create the tables.
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 natcip

  • Semi-Newbie
  • *
  • Posts: 90
Re: Simple Audio Video Embedder
« Reply #3116 on: February 19, 2019, 03:29:28 PM »
Nevermind, it works now. Weird. Thanks for the helpfulness! Appreciate it! ;)

Offline MarkRH

  • Semi-Newbie
  • *
  • Posts: 75
  • Gender: Male
    • @mrheadrick on Twitter
    • Mark Headrick's Web Site
Re: Simple Audio Video Embedder
« Reply #3117 on: March 05, 2019, 03:23:28 AM »
Maybe I'm an idiot and doing something wrong but I installed this (version 4.5.3a ) in 2.1 RC 1 and just testing out YouTube links and they do not auto embed. It's just a clickable link.

Well, I figured out why.  When I went to uninstall the package, it failed on Subs.php because the text it was looking for wasn't actually in it.  I manually copied it's code into Subs.php and now the auto embed stuff started working.  I might have copied the Subs.php locally up to server and that took the code out.  I'll double check things.
Mark H.
Pelicar Fantasy RPG Forum using SMF 2.1 RC 2 Now (Also testing 2.1 RC 2 locally)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 21,560
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3118 on: March 05, 2019, 09:57:23 AM »
It should work for most youtube links there are a few if you using a custom format or change the url that it doesn't pickup
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 MarkRH

  • Semi-Newbie
  • *
  • Posts: 75
  • Gender: Male
    • @mrheadrick on Twitter
    • Mark Headrick's Web Site
Re: Simple Audio Video Embedder
« Reply #3119 on: March 31, 2019, 07:11:03 PM »
Upgraded local test forum to 2.1 RC 2 using the upgrade download.  I notice now in the Package Manager that it says "Install Emulating 2.1RC1" for the MOD. Should it? I just grabbed the latest copy of the mod.
Mark H.
Pelicar Fantasy RPG Forum using SMF 2.1 RC 2 Now (Also testing 2.1 RC 2 locally)