Simple Audio Video Embedder

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

Previous topic - Next topic

vbgamer45

TMZ doesn't look possible with a one step embed. Would require two steps to fetch the embed code.
Community Suite for SMF - Grow your forum with 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

Steve

My pet rock is not feeling well. I think it's stoned.

nfpuu1u

Quote from: Steve on December 16, 2023, 08:41:16 AMThe mod entry on the customization site is showing 7.0.3a for me.

Yes, but i'm talking about the Changelog in the Description of the mod entry and the first topic in this thread which has 7.0.2 as the recent / current / last version :)


vbgamer45

Oh didn't update the description
7.0.3
+Added support for Threads.net Posts
!Removed database table that isn't used.
Community Suite for SMF - Grow your forum with 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

Quote from: CreativeITWorld.com on April 22, 2023, 09:58:04 PMMy Current Problem is SAVE not embedding video for Guests. I'm assuming that if it's not an option to change, then it's a conflict that will just have to be taken care of with the eventual upgrade from SMF2.0 to SMF2.1?

I have been using SMF2.1 for most of this year. Due to the problem with Guests not seeing videos and the possibility of a conflict with another Mod, I installed SAVE before all other Mods. As always, videos could still not be seen by Guests.

Is that how this Mod is supposed to perform? Or is there some Guest Setting I missed that I need to alter in order to get embedded videos showing for Guests?

vbgamer45

There is no difference in permissions for guests versus members. All members have permissions to view videos as long as the video site is checked.

Now if you are talking about attached videos as attachments those are controlled by permissions
Community Suite for SMF - Grow your forum with 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

So it's not about permissions then.

I have compared the coding and Logged In has the iframe embed for YouTube and Logged Out/Guests just has the link.

I have tried turning on Guest posting, the built in YouTube BBCode (which does embed videos but does not effect SAVE) ... but that's all permissions.

I have manually embedded videos and they work. I'm at a loss for how to get videos to embed for Guests using SAVE.

There must be SOMETHING that will work?

vbgamer45

Would need to see example links and test.

Otherwise it sounds like the mod did not install correctly.
Community Suite for SMF - Grow your forum with 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

Quote from: vbgamer45 on December 25, 2023, 08:53:54 AMit sounds like the mod did not install correctly.

That made me think of what could have prevented SAVE installing correctly. It occurred to me that years ago, before SAVE, I used AEVA for quite some time. And I found it all over the database. I assume this is a problem?

Search for "AEVA":
35 matches in smf_settings   Browse   Delete
35 matches in smf_settings__20230808_093248
11 matches in smf_log_actions__20230808_093248
7 matches in smf_log_packages   Browse   Delete
7 matches in smf_log_packages__20230808_093248
1 match in smf_personal_messages__20230808_093248


From smf_settings:
aeva_max_width
480
   
aeva_lookups
1
   
aeva_max_per_post
15
   
aeva_max_per_page
40
   
aeva_inlinetitles
2
   
aeva_expins
0
   
aeva_incontext
0
   
aeva_fix_html
1
   
aeva_includeurl
1
   
aeva_enable
0
   
aeva_lookup_test
1468484273
   
aeva_list_updates
   
aeva_nonlocal
1
   
aeva_yq
0
   
aeva_titles
1
   
aeva_noscript
0
   
aeva_center1
   
aeva_allow_adult
1
   
aeva_checkadmin
1
   
aeva_mp3
1
   
aeva_flv
1
   
aeva_avi
1
   
aeva_divx
1
   
aeva_latest_version
7.0.706
   
aeva_latest_sitelist
706

vbgamer45

Community Suite for SMF - Grow your forum with 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

#3710
Quote from: vbgamer45 on December 25, 2023, 05:13:34 PMis aeva still installed?

Definitely not. AEVA was removed some time ago in the last decade - probably between 2014 to 2017. Perhaps earlier.

AEVA Gallery was first replaced with SMF Gallery Pro - no problems there. Then AEVA main was finally uninstalled and replaced with SAVE.

EDIT: Turns out I got rid of AEVA in 2016
Quote from: CreativeITWorld.com on July 13, 2016, 07:25:50 AMThanks. And thank you for the Mod.

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

Reading through this Topic to see if others had problems with AEVA conflicts and if/how they were dealt with.

CreativeITWorld.com

I found nothing reading through this topic. So, I removed those AEVA items I listed above and nothing changed.

Next, I'll go through years old backups and see if I can find an old AEVA mod installation and look for corresponding current database entries that should not be there.

There has to be something that causes SAVE not to work install properly.

If I can fix the problem, I'll let everyone know here. If not, I'll just give up and look for an alternative answer.

vbgamer45

I guess some example urls?
You can check that all the code for Save is installed correctly in the site files. Use the package parser on mod site or my site smfhacks.com
Community Suite for SMF - Grow your forum with 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

I used the Package Parser and couldn't find any faults.

Example URL - Here's the Now Playing Music and Videos Topic on the Forum:
https://creativityalliance.com/forum/general-jabber/now-playing-music-and-videos/msg47031/#msg47031

When logged in, we see the embedded videos. Guests do not.

vbgamer45

Strange what mods installed any bbc code related?
Community Suite for SMF - Grow your forum with 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

The forum is more than a decade old. Used version 1.x. The last upgrade from 2.0.14 to 2.1.4 was in August of this year (2023). I spent the morning removing old mods from the Settings table of the database.

After the upgrade, Simple Audio Video Embedder was the first to be installed.

I only noticed the problem with videos not auto embedding for Guests some time this year. No idea how many years this has been going on, although I presume it to be since 2016 when I switched from AEVA to SAVE.

Current Mods are:

1       FancyBox 4 SMF   1.2.4
2   Activity Bar   2.0.1
3   RSS Feed Icon   2.0.1
4   More Spiders   1.3.1
5   Last Post on Every Page for SMF 2.1   1.1
6   Contact Page   7.1
7   SMF 2.1 Autolink Basic URLs   1.0
8   Leet Mod   1.2
9   Relative Time Formats   1.2.2
10   TinyPortal   2.3.1
11   Happy Birthday   0.5
12   BBCode Permissions   1.1
13   Delete Old Pms   1.0   UNINSTALL EMULATING: 2.0
14   PDF Embedding in Posts   2.1.01
15   Pretty URLs   4.0.1
16   PHP Information Mod   1.0.3   UNINSTALL EMULATING: 2.0
17   Simple Audio Video Embedder   7.0.3a
18   SMF Gallery Pro   9.0.8
19   Info Center Manager   1.0b3   UNINSTALL EMULATING: 2.1.2
20   Unread Notifications On Title   1.1.3
21   HtmlButton   1.0
22   Snowflakes   1.82
23   Forum Width Setting
24   Optimus   2.12
26   PM Attachments   2.13
28   My Given Likes   1.0
29   Post as Another Member   1.7
30   Enhanced Quick Reply   1.0.1
31   Auto Twitter Embed   4.0.3
32   Simple Pokes   2.1
33   Stop Forum Spam   1.4
34   Ultimate Menu   2.0.2

CreativeITWorld.com

Videos not embedded for Guests

Problem Fixed. The problem is that there is no $user_info for Guests.

Edit AutoEmbedMediapro2.php

Original
// Don't process if a robot
if (!empty($user_info['possibly_robot']))
return $message;

Edited
// Don't process if a robot
//if (!empty($user_info['possibly_robot']))
//return $message;

@vbgamer45 You can delete any of my above discussion posts. They're not really relevant now.

vbgamer45

So your guests are being flagged as a search engine robot?
Community Suite for SMF - Grow your forum with 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

Yes.

Even I'm being flagged as a search engine robot when I log out. My personal ISP is a company called EscapeNet based in South Australia. It doesn't have its own bots, so it should not be flagged in any way at all as a search bot.

I know the mod 4 More Spiders 1.3.1 is not causing the problem. I tested it/removed and reinstalled it to make sure.

Sono

When I want to install this mod on 2.0.19 I get Test Failed on this step:


Code: (Find) [Select]
'<img>'
Code: (Replace) [Select]
'<img><object><embed><div><iframe><blockquote><video><audio>'

What causes this? I have the Postimage Simple Image Upload mod installed and the Simple Youtube Video Embedder Mod installed, maybe those removed that line?

Advertisement: