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

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

meental

couple things. I have tried to search for these issues, but it is a long thread :)

Also, thank you for all your work vbgamer45.

Now on to the questions. using the latest version of your mod, 3.6.2 all check boxes checked and default width and height.
Chrome browser latest v49.0.2623.110 m

Are posts limited to one video/picture per post?  I tried a instagram video with a picture and if there are 2 links in the same post, anything(text,hyperlink) between the first picture/video url and the 2nd link does not show up.

Example:

instagram
video
https://www.instagram.com/p/BDjwv9NvKTC/?taken-by=biolitestove

[picture
https://www.instagram.com/p/BDTlMgWgzop/?taken-by=timthetoothninja]

text after image embed

everything in brackets does not show(no picture or text).

Facebook videos appear to work, although they show up very large, I have tried the default and also specifying a lower resolution in the settings and it seems to be ignored.
https://www.facebook.com/goosegear/videos/577008059094473/

Facebook pictures appear to not work however. maybe they recently changed their format.

Sample link:

https://www.facebook.com/goosegear/photos/pb.541049422690337.-2207520000.1459360498./731424666986144/?type=3&theater


webm and mp4 links show just the video player bar at the bottom with the play button and 0:00 but no video is shown and no response from play button, these links will play in my browser in a new tab/page.

Sample links for mp4 and webm:

https://media.giphy.com/media/EM0HdkC2QnKuY/giphy.mp4

http://webm.land/media/Wkx2.webm



Steve

I know there are some quirks ... for example, if I post a YouTube video and a LiveLeak video, the YouTube video MUST be posted first or neither will show. Not a problem for me but in your case it may be more significant.
DO NOT pm me for support!

Jade Elizabeth

QUESTION: Is this messing with facebook embed code for posts?

I can't embed posts with html tags is all. The link stays a link so I figured it wasn't trying to embed.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

DarkAngel612

Quote from: Jade Elizabeth on April 01, 2016, 08:42:10 AM
QUESTION: Is this messing with facebook embed code for posts?

I can't embed posts with html tags is all. The link stays a link so I figured it wasn't trying to embed.

I am confused by others here....you say the links do not work due to html tags in them

We are supposed to be able to just grab the link from the location bar of the browser, hence no tags at all.

I just tried to embed this link for a facebook vid: https://www.facebook.com/ThePageantAuthority/ and nothing shows but when I see the video in its small version---without playing it ===> right click it will give you some choices.

One choice is to show the url so once you click ti you are given the actual link to the video which you copy and paste it into your thread and that one works. IF you have all choices chosen in admin settings.
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

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

DarkAngel612

Just an example sweety about what/how to nab the FB vid link
Fantasy Attic ::  Fantasies Realm Market :: SMF 2.0+ with various mods and TinyPortal

luuuciano

No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

Jade Elizabeth

Goodness me lol. Alright so I post this:

https://www.facebook.com/ColorMeForum/posts/1751706518394717

It doesn't embed, which is fair enough because it's not a video.

Then I post this with html tags so it should actually embed, which also doesn't embed:
[html]<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/en_US/sdk.js#xfbml=1&version=v2.3";  fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script><div class="fb-post" data-href="https://www.facebook.com/ColorMeForum/posts/1751706518394717" data-width="500"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/ColorMeForum/posts/1751706518394717"><p>Check out our latest page! Something different mandala, because it was time for something different ;).Don't forget to...</p>Posted by <a href="https://www.facebook.com/ColorMeForum/">Color Me Forum</a> on&nbsp;<a href="https://www.facebook.com/ColorMeForum/posts/1751706518394717">Tuesday, March 15, 2016</a></blockquote></div></div>[/html]

Is it not embedding because of this mod? :)
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Dan_

I post this and it does not embed: https://www.youtube.com/watch?v=i_sVFpfxOuc&feature=youtu.be


I take the &feature=youtu.be off and it does...

Kindred

Because that extra argument is not part of the video url
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Dan_

Quote from: Kindred on April 02, 2016, 11:35:55 AM
Because that extra argument is not part of the video url


You know this, I know this.  But the unwashed masses?  Not gonna know...

Dan_

Quote from: Kindred on April 02, 2016, 11:35:55 AM
Because that extra argument is not part of the video url


I did some research...

.be is the top level domain for Belgium, but has been utilized (hijacked?) by Google to shorten their Youtube video URLs.  Apparently you get a youtu.be URL is you click the share button on a video, instead of copying it yourself out of the address bar.

Of course if you follow one as I did, the .be can already be in the address bar.

This is news to me but has been going on since 2009.  http://mashable.com/2009/12/21/youtu-be/#KBnDpy_IK8qg 

http://www.geek.com/news/google-unveils-youtu-be-shortener-that-cuts-down-video-links-by-15-characters-1029511/


badon

I did a search for "local attach" in this topic, but it didn't find any results, so forgive me if this question has already been discussed. I installed the mod and YouTube etc URL's work fine, but when I attach a video file to a post, it does not get displayed. It also does not work if I paste the URL to the attachment in the post, like I would do if I wanted to display the video file in multiple places. Is something wrong, or does the mod lack the ability to handle attached video files?

vbgamer45

This mod does not handle attached videos. If it is in an attachment to the post.
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

badon

Would it be straightforward to make it work with attached video files, or at the very least the URL to the attachment? In my tests, the URL doesn't work, presumably because you are using RegEx's that search for URL's like youtube.com, etc. To make it work with attachment URL's I'm guessing the mod would need to search for the local domain URL, and detect the MIME type of the file since it lacks an extension. You can view my tests here, to see what I'm talking about:

https://forum.coincompendium.com/index.php?topic=4730.0

vbgamer45

It would not be. That would be very difficult more so since there is no extension.
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

Jade Elizabeth

Quote from: Jade Elizabeth on April 02, 2016, 03:04:40 AM
Goodness me lol. Alright so I post this:

https://www.facebook.com/ColorMeForum/posts/1751706518394717

It doesn't embed, which is fair enough because it's not a video.

Then I post this with html tags so it should actually embed, which also doesn't embed:
[html]<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/en_US/sdk.js#xfbml=1&version=v2.3";  fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script><div class="fb-post" data-href="https://www.facebook.com/ColorMeForum/posts/1751706518394717" data-width="500"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/ColorMeForum/posts/1751706518394717"><p>Check out our latest page! Something different mandala, because it was time for something different ;).Don't forget to...</p>Posted by <a href="https://www.facebook.com/ColorMeForum/">Color Me Forum</a> on&nbsp;<a href="https://www.facebook.com/ColorMeForum/posts/1751706518394717">Tuesday, March 15, 2016</a></blockquote></div></div>[/html]

Is it not embedding because of this mod? :)

I felt a bit forgotten so I'm reposting ha ha :D.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

nax

Quote from: Jade Elizabeth on April 04, 2016, 05:11:29 AM
Quote from: Jade Elizabeth on April 02, 2016, 03:04:40 AM
Goodness me lol. Alright so I post this:

https://www.facebook.com/ColorMeForum/posts/1751706518394717

It doesn't embed, which is fair enough because it's not a video.

Then I post this with html tags so it should actually embed, which also doesn't embed:
[html]<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/en_US/sdk.js#xfbml=1&version=v2.3";  fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script><div class="fb-post" data-href="https://www.facebook.com/ColorMeForum/posts/1751706518394717" data-width="500"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/ColorMeForum/posts/1751706518394717"><p>Check out our latest page! Something different mandala, because it was time for something different ;).Don't forget to...</p>Posted by <a href="https://www.facebook.com/ColorMeForum/">Color Me Forum</a> on&nbsp;<a href="https://www.facebook.com/ColorMeForum/posts/1751706518394717">Tuesday, March 15, 2016</a></blockquote></div></div>[/html]

Is it not embedding because of this mod? :)

I felt a bit forgotten so I'm reposting ha ha :D.

You need to click on the image in FB and get it's URL then use the ing tags  see:

[img]https://scontent-lhr3-1.xx.fbcdn.net/hphotos-xlt1/v/t1.0-9/12809657_10204822621920017_1733048334789614153_n.jpg?oh=8eb7d5d7bb32375a9a4a58fe93a6f6cb&oe=578BD95C[/img]  will give:-


Jade Elizabeth

I don't want the image I want the post, I want to embed the post. That's not a solution.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

Advertisement: