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

Julius_2000

#3520
Yup, I've been using that BBC alternative instead. I just wanted to know whether it's an issue with the mod itself or whether I am the culprit :)

Btw, your mod is awesome, has made using links so much more convenient. Thank you!

gorbi

#3521
Hi! Shorts Youtube do not work without www. in link


Steve

If you go to the short you want and right click and copy the video url, posting that works just fine.

Example from your link:

DO NOT pm me for support!

gorbi


Steve

I understand that. But it is from the shorts you linked to and I told you how to get the url of whichever one you want.
DO NOT pm me for support!

vbgamer45

Update
7.0.1
+Added support without .www for youtube shorts
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

pulgoki

Is there a secret to get tiktok and reddit videos to embed?  When I try to post the shared link from either, the video's don't automagically embed.  I suspect that I'm doing something wrong?

Julius_2000

Hi,

if I'm not mistaken, playing audio/video attachments is now a default feature in SMF? I noticed that in my Firefox browser, attached videos do not play back sound. The volume symbol is crossed out. I tried disabling all add-ons and enable automatic replay for media in FF but that didn't help.
I have no problems in Chrome or Edge. FF has the latest update. The file I attached is in mov format.

Can anyone confirm this behavior? 

Julius_2000

#3529
Hi,

I have a weird bug in my theme (Pelikan Theme). When I attach videos or audio files and do not insert them in the post after uploading, they get displayed twice. I suspect that there's a double line of code somewhere but I don't know exactly where to look. I had a similar issue I was able to fix with Twitter embeds where there was a double entry in load.php.

Does anyone know what I can do here?

Edit
I think this is related to the Simple Audio Video Embedder
I just uninstalled the 7.0 version and installed the 7.0.1 one and now I have three items of an attached media file.

Edit 2
Ok, I think I was able to locate the culprit: it was a triple entry in the Display.Template.php for this line of code
    global $sourcedir;
        require_once($sourcedir . '/Subs-MediaAttachments.php');
        PMAt_DisplayPlayer($attachment);

@vbgamer45 - Does S.A.V.E. have troubles deleting this when uninstalling?

savo

I'm a Firefox user and I don't have any issues playing audio from an attached mov file.

I checked my FF plug-ins and I have these two that seem to be related to video/audio but I don't recall installing them separately.

You cannot view this attachment.   

Julius_2000

@savo , thanks for the feedback.

I only have the openH264 codec installed. I even tried FF's troubleshooting modus with all add-ons disabled, no luck so far.

Audio attachments work fine, video embeds work fine. Only video attachments are muted. It happens in both our current theme and the Default one.

You cannot view this attachment.

jsx

@vbgamer45

If videos from facebook are added and a link is added as a source, it is displayed like this:





As you can see, one source link is not showing in the post below the video. Can you fix it in this mod?

jsx

Hi @vbgamer45

Can you provide a solution to make the link display correctly?

vbgamer45

Can you post me an example link.
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

jsx

@vbgamer45

If I add two videos from youtube in the post and place a link under each video, then these links are displayed correctly.

Take a look at the screenshot:



But if I add two videos from facebook in the same way as those from youtube then one link will not be displayed. There is some bug here.



As you can see on the screen, 1 link is not displayed, only the word Source. The link is displayed correctly under the second video.

vbgamer45

Can you provide example links so I can test?
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


vbgamer45

Did you make a change?
We normally don't include Source: word i don't believe so.
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

jsx

The source is just an example.

If I add any link under the first Facebook video and also under the second video, the link will appear under the second video, under the first video the link will not appear. But if I remove the https from that first link, the link will appear. As you can see this is a bug.

Advertisement: