Advertisement:

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

Offline jsx

  • Full Member
  • ***
  • Posts: 448
  • Gender: Male
Re: Simple Audio Video Embedder
« Reply #3220 on: April 02, 2020, 04:09:23 AM »
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:

Code: [Select]
[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?
The Great Winged Hussars

https://www.youtube.com/watch?v=eWkrQQly6xU

We remember
In september
When The Winged Hussars arrived!

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,538
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3221 on: April 02, 2020, 06:02:31 AM »
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

Offline jsx

  • Full Member
  • ***
  • Posts: 448
  • Gender: Male
Re: Simple Audio Video Embedder
« Reply #3222 on: April 02, 2020, 07:54:11 AM »
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.
The Great Winged Hussars

https://www.youtube.com/watch?v=eWkrQQly6xU

We remember
In september
When The Winged Hussars arrived!

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,538
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3223 on: April 02, 2020, 08:48:05 AM »
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

Offline jsx

  • Full Member
  • ***
  • Posts: 448
  • Gender: Male
Re: Simple Audio Video Embedder
« Reply #3224 on: April 02, 2020, 01:32:16 PM »
So how can prevent the embedded video from displaying in the signature?
The Great Winged Hussars

https://www.youtube.com/watch?v=eWkrQQly6xU

We remember
In september
When The Winged Hussars arrived!

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,538
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3225 on: April 13, 2020, 12:31:12 AM »
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

Offline nax

  • Jr. Member
  • **
  • Posts: 375
  • Gender: Male
Re: Simple Audio Video Embedder
« Reply #3226 on: April 13, 2020, 05:14:07 AM »
The link to 5.1 is not available int he Download centre it's still the previous version.

      SimpleAudioVideoEmbedder5.0.5.zip

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,538
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3227 on: April 13, 2020, 10:23:24 AM »
Fixed thanks!
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 Jelle Mees

  • Jr. Member
  • **
  • Posts: 149
Re: Simple Audio Video Embedder
« Reply #3228 on: April 15, 2020, 02:08:14 PM »
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.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,538
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3229 on: April 15, 2020, 02:28:47 PM »
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

Offline Jelle Mees

  • Jr. Member
  • **
  • Posts: 149
Re: Simple Audio Video Embedder
« Reply #3230 on: April 15, 2020, 03:22:06 PM »

Offline vbgamer45

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

  • Jr. Member
  • **
  • Posts: 149
Re: Simple Audio Video Embedder
« Reply #3232 on: April 15, 2020, 03:41:57 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.

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,538
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3233 on: April 15, 2020, 03:46:15 PM »
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

Offline Jelle Mees

  • Jr. Member
  • **
  • Posts: 149
Re: Simple Audio Video Embedder
« Reply #3234 on: April 15, 2020, 04:08:59 PM »
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
Code: [Select]
padding-bottom: 56.250%; in the line of streamable.
Then in the AutoEmbedMediaPro2.php file, add these lines under MediaProProcess($message):

Code: [Select]
$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 ;)

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,538
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3235 on: April 15, 2020, 04:12:20 PM »
Very nice!
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 gorbi

  • Jr. Member
  • **
  • Posts: 139
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Simple Audio Video Embedder
« Reply #3236 on: April 22, 2020, 03:09:03 AM »
How to make preview for external links? As xenforo

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,538
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3237 on: April 22, 2020, 08:49:06 AM »
Not a feature of this 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 Plantje

  • Semi-Newbie
  • *
  • Posts: 99
  • Gender: Male
  • Running version 2.0.11
    • Vliegvissers.nl
Re: Simple Audio Video Embedder
« Reply #3238 on: May 13, 2020, 05:18:55 AM »

Offline vbgamer45

  • Customizer
  • SMF Super Hero
  • *
  • Posts: 22,538
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #3239 on: May 13, 2020, 09:00:02 AM »
So just this version of the link is not working https://www.youtu.be/watch?v=AefXU4rr72o ?
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