Advertisement:

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

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,406
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #2900 on: March 08, 2018, 11:56:25 AM »
Mod Embed Facebook BBCode work excellent, but i want all in one mod.
Does that work with facebook pictures?
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 butch2k

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
    • @butch2k on Twitter
    • Planète Roliste
Re: Simple Audio Video Embedder
« Reply #2901 on: March 08, 2018, 12:03:09 PM »
AFAIK it’s just posts and videos.

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,406
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #2902 on: March 08, 2018, 12:04:30 PM »
Ok that makes sense then. Gorbi we have both posts and videos now in the latest version.
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 butch2k

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
    • @butch2k on Twitter
    • Planète Roliste
Re: Simple Audio Video Embedder
« Reply #2903 on: March 08, 2018, 12:09:16 PM »
For pictures It requires much more work, here is a sample of what you need to do:
https://gist.github.com/palimadra/8727733

The gist above is missing the access token query as underlined by the first commenter and it would have to be translated to pure js.

Offline gorbi

  • Jr. Member
  • **
  • Posts: 124
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Simple Audio Video Embedder
« Reply #2904 on: March 08, 2018, 12:31:40 PM »
Does that work with facebook pictures?
Of course

Offline gorbi

  • Jr. Member
  • **
  • Posts: 124
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Simple Audio Video Embedder
« Reply #2905 on: March 08, 2018, 12:40:21 PM »
Ok that makes sense then. Gorbi we have both posts and videos now in the latest version.
Posts do not work at me  :'(

Offline butch2k

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
    • @butch2k on Twitter
    • Planète Roliste
Re: Simple Audio Video Embedder
« Reply #2906 on: March 08, 2018, 12:52:00 PM »
Does that work with facebook pictures?
Of course
With any pictures ? Even the ones in posts ? Or the ones in the gallery ? The latter is possible but you won't get just the picture, it'll come with the comments.

Offline butch2k

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
    • @butch2k on Twitter
    • Planète Roliste
Re: Simple Audio Video Embedder
« Reply #2907 on: March 08, 2018, 12:53:31 PM »
Ok that makes sense then. Gorbi we have both posts and videos now in the latest version.
Posts do not work at me  :'(
Could you provide some urls ?

@vbgamer45 did you try it on a test forum ?

Offline gorbi

  • Jr. Member
  • **
  • Posts: 124
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter

Offline butch2k

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
    • @butch2k on Twitter
    • Planète Roliste
Re: Simple Audio Video Embedder
« Reply #2909 on: March 08, 2018, 01:40:29 PM »
Both links works on my forum (I've just added photo embedding code).
Could you verify Facebook embed is checked in SAVE settings ?

Offline Fencejumper09

  • Newbie
  • *
  • Posts: 3
Re: Simple Audio Video Embedder 2.5 (Mar 17) 80+ Video Sites supported!
« Reply #2910 on: March 08, 2018, 01:43:07 PM »
Any chance of getting SmugMug added to the list?
Need example links/embed code.

Any chance to get this added?

Link
Code: [Select]
https://dmetallo.smugmug.com/Public/2002-yz250/i-Hn32h7R/A
Embed
Code: [Select]
<iframe frameborder="0" scrolling="no" width="1280" height="720" src="https://api.smugmug.com/services/embed/6937318756_Hn32h7R?width=1280&height=720&albumId=155999553&albumKey=QdGj3P"></iframe>

Offline butch2k

  • Full Member
  • ***
  • Posts: 416
  • Gender: Male
    • @butch2k on Twitter
    • Planète Roliste
Re: Simple Audio Video Embedder
« Reply #2911 on: March 08, 2018, 01:45:21 PM »
Embed Photos from galleries (not working when private)
Regex/embed pretty ugly at this time but working on links i tested including gorbi's

Facebook pictures (Photo.php)
Regex
Code: [Select]
htt(p|ps):\/\/(|(.+?).)facebook\.com\/photo\.php\?fbid=(\d+?)\&amp;set=(\w)\.(\d+)(?:\.(\d+)\.(\d+))?\&amp;type=3(\&amp;theater)?
Embed code
Code: [Select]
<div id="fb-root"></div><script>(function(d,s,id){var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.12";fjs.parentNode.insertBefore(js, fjs);}(document, "script", "facebook-jssdk"));</script><div class="fb-post" data-href="https://www.facebook.com/photo.php?fbid=$4&set=$5.$6$7&type=3" data-width="500" data-show-text="true"></div>
Facebook Pictures (Alt path mode)
Regex
Code: [Select]
htt(p|ps):\/\/(|(.+?).)facebook.com\/([\d\w\.\_\-]+)\/photos\/(\w)+\.(\d+)(\.(\d+)\.(\d+))?\/(\d+)\/\?type=(\d+)(&amp;theater)?
Embd code
Code: [Select]
<div id="fb-root"></div><script>(function(d,s,id){var js, fjs = d.getElementsByTagName(s)[0];if (d.getElementById(id)) return;js = d.createElement(s); js.id = id;js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.12";fjs.parentNode.insertBefore(js, fjs);}(document, "script", "facebook-jssdk"));</script><div class="fb-post" data-href="https://www.facebook.com/$4/photos/$5.$6$7/$10/?type=$11" data-width="500" data-show-text="true"></div>


Offline nofapturkiye

  • Semi-Newbie
  • *
  • Posts: 44
Re: Simple Audio Video Embedder
« Reply #2912 on: March 23, 2018, 01:41:59 AM »
Guys i delete this mod and my site crashed. It did gave me red error while deleting but i did not listen it....
Edit : i backup my site and check the red lines in mod deleting :

   ./Sources/Post.php          this one fails.And causes site to crash if deleted
 
« Last Edit: March 23, 2018, 01:55:45 AM by nofapturkiye »

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,406
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #2913 on: March 23, 2018, 08:19:33 AM »
Try to unisntall it manually upload the package to
https://www.smfhacks.com/smf-package-parser.html

And remove that edit it fails on
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 Dwev

  • Jr. Member
  • **
  • Posts: 217
Re: Simple Audio Video Embedder
« Reply #2914 on: March 24, 2018, 05:42:07 AM »
I'm using this Mod and really like it.

I do have a question though: is it possible to use links to sites that this Mod supports without the content showing?

The question arises because sometimes you want to link to a YouTube film (or anything like that) as a link under text, while not showing the actual content.

Is this possible?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,406
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #2915 on: March 24, 2018, 09:37:18 AM »
I'm using this Mod and really like it.

I do have a question though: is it possible to use links to sites that this Mod supports without the content showing?

The question arises because sometimes you want to link to a YouTube film (or anything like that) as a link under text, while not showing the actual content.

Is this possible?
Not currently.
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 Dwev

  • Jr. Member
  • **
  • Posts: 217
Re: Simple Audio Video Embedder
« Reply #2916 on: March 24, 2018, 12:59:10 PM »
Not currently.

Any plans to add this?

Maybe for a fee?

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,406
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #2917 on: March 24, 2018, 01:31:55 PM »
Probably not as I don't have a good plan on how to do it.
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: 124
    • https://www.facebook.com/s.gorbachevsky on Facebook
    • @gorbachevsky on Twitter
Re: Simple Audio Video Embedder
« Reply #2918 on: March 26, 2018, 09:31:54 AM »
Please, add twitter and instagram. All in One  ;)

Offline vbgamer45

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 20,406
    • smfhacks on Facebook
    • VBGAMER45 on GitHub
    • @createaforum on Twitter
    • SMF For Free
Re: Simple Audio Video Embedder
« Reply #2919 on: March 26, 2018, 09:42:21 AM »
twitter instragram are already there.
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