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

jsx

vbgamer45,

This modification is really extended, but it lacks:

No automatic conversion of tagged link, e.g. youtube for embedded video.

I mean this tag:

[youtube]link[/youtube]

If someone ever used Ohara YouTube Embed modification and placed a link in the tag, now after using your modification, the tagged links have not changed to the embedded video. So embedded videos have stopped displaying in many posts.

And if in the signature I have added links to youtube, such as I have added here on simplemachines, they are automatically changed to embedded video by Simple Audio Video Embedder. Although youtube tags are disabled in Features and Options> Signatures - It is needed a function for this modification thanks to which can turn off the embedded video in the signature.

Would you be able to refine this modification?

vbgamer45

No, I have zero plans for tags that is way too complex to implement.

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

I understand, what do you think about it?

And if in the signature I have added links to youtube, such as I have added here on simplemachines, they are automatically changed to embedded video by Simple Audio Video Embedder. Although youtube tags are disabled in Features and Options> Signatures - It is needed a function for this modification thanks to which can turn off the embedded video in the signature.

vbgamer45

I had that option but had to remove due to issues.
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

So how can prevent the embedded video from displaying in the signature?

vbgamer45

5.1
!Removed old sites from new installs that no longer work
HostingBulk.com
HostingCup
Movshare.net
videobb.com/
smotri.com
g4tv.com
www.xfire.com
Trophy-clips.com
Tangle.com
video.mpora.com
clipshack.com
Stream.cz
blogtv.com
twitvid.com
stagevu.com
goear.com
Clipfish.de
mevio.com
gametrailers.com
sevenload.com
MyVideo.de
novamov.com
UStream.tv
collegehumor.com
seenive.com
vine.com
Jpopsuki.tv
vid.me
tube.com
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

nax

The link to 5.1 is not available int he Download centre it's still the previous version.

      SimpleAudioVideoEmbedder5.0.5.zip

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

Jelle Mees

Streamable videos are no longer working correctly. It adds half a page of blank space above and belove the video and it also shows some code like this.
I tried messing with the layout but I can't seem to get it fixed in any way.

vbgamer45

Post me a sample link of that video site.
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

Made a change with padding bottom.
Copy to root of your forum site.
Run it via the address bar the script from your site.

Then resave your Simple Audio Video Settings.
And let me know if it helped or not.
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

Jelle Mees

Quote from: vbgamer45 on April 15, 2020, 03:35:13 PM
Made a change with padding bottom.
Copy to root of your forum site.
Run it via the address bar the script from your site.

Then resave your Simple Audio Video Settings.
And let me know if it helped or not.

100% fixed. The width in the setting is not applied though. It's still 100% width.

vbgamer45

Yeah, i don't have it overriding if it is set to width="100%" height="100%
It only overrides for px width height

You can add to the replacement function MediaProProcess($message)   In Sources/AutoEmbedMediaPro.php

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

Jelle Mees

Ok, found the complete fix for Streamable.com:

In the installation file you uploaded ( https://www.simplemachines.org/community/index.php?action=dlattach;topic=395039.0;attach=268483 ), delete padding-bottom: 56.250%; in the line of streamable.
Then in the AutoEmbedMediaPro2.php file, add these lines under MediaProProcess($message):

$mediaSite['embedcode'] = str_replace('width: 100%','width: ' . $movie_width  .'px', $mediaSite['embedcode']);
$mediaSite['embedcode'] = str_replace('height: 0px','height: ' . $movie_height.'px', $mediaSite['embedcode']);


This will make your width and height setting work for Streamable video's and no more blank space below and above the video ;)

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

gorbi

How to make preview for external links? As xenforo

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

Plantje


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

Advertisement: