News:

Wondering if this will always be free?  See why free is better.

Main Menu

Simple Audio Video Embedder

Started by SMFHacks.com Team, August 09, 2010, 10:42:47 PM

Previous topic - Next topic

Steve

Quote from: Jade Elizabeth on January 28, 2016, 04:27:51 AMAlso if there's a way to prevent the video being quoted that would rock too.

That would be a function I'd love as well. :)
DO NOT pm me for support!

vbgamer45

Yeah that type of function would not be easy for me to do I have no idea on how to begin for that.
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

lntit

Quote from: Jade Elizabeth on January 28, 2016, 04:27:51 AMAlso if there's a way to prevent the video being quoted that would rock too.
So much this.
Our members tend to quote stuff a lot and it would be totally cool to prevent/disable it in a quote or let the video appears as a link inside a quote.

Quote from: vbgamer45 on January 29, 2016, 05:12:03 PM
Yeah that type of function would not be easy for me to do I have no idea on how to begin for that.
I don't know much about php, but my first idea I would be kind or "if video link is inside a quote element then do not parse the video link". And yes I guess it is not that simple as I think.

nend

@vb on the quote thing, I would suggest use a global and store the URLS already phased in it. So if it is in the global array then don't parse.

vbgamer45

Quote from: nend on January 29, 2016, 06:24:08 PM
@vb on the quote thing, I would suggest use a global and store the URLS already phased in it. So if it is in the global array then don't parse.
So only do the first time but not any additionally? Hmm could work.
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: Pause on January 29, 2016, 10:41:04 AM
Quote from: Jade Elizabeth on January 28, 2016, 11:08:26 PM
Quote from: Jade Elizabeth on January 28, 2016, 04:27:51 AM
Having issues figuring out how to do this one myself...but with Youtube you can hide the info and controls like this:

<iframe width="560" height="315" src="https://www.youtube.com/embed/f8_FsBQUW_k?controls=0&showinfo=0" frameborder="0" allowfullscreen></iframe>

I would like to add this to the code to do by default for Youtube. Can you please help? :D Also if there's a way to prevent the video being quoted that would rock too.

I would love some help with this one still please :D.

Untested, but I believe this should would be another simple embed code tweak in AutoEmbedMediaProInstall2.php:

Code (Find) Select
(1, 'Youtube','http://www.youtube.com', 385,640, 'htt(p|ps)://[" . '\\' .'\\' . "w.]+youtube" . '\\' .'\\' . ".[" . '\\' .'\\' . "w]+/watch[(" . '\\' .'\\' . "?|" . '\\' .'\\' . "?feature=player_embedded&amp;)" . '\\' .'\\' . "#!]+v=([" . '\\' .'\\' . "w-]+)[" . '\\' .'\\' . "w&;+=-]*[" . '\\' .'\\' . "#t=]*([" . '\\' .'\\' . "d]*)[&;10wshdq=]*','" . '<iframe width="480" height="600" src="//www.youtube.com/embed/$2?fs=1&start=$3" frameborder="0" allowfullscreen></iframe>' . "'),

Code (Replace) Select
(1, 'Youtube','http://www.youtube.com', 385,640, 'htt(p|ps)://[" . '\\' .'\\' . "w.]+youtube" . '\\' .'\\' . ".[" . '\\' .'\\' . "w]+/watch[(" . '\\' .'\\' . "?|" . '\\' .'\\' . "?feature=player_embedded&amp;)" . '\\' .'\\' . "#!]+v=([" . '\\' .'\\' . "w-]+)[" . '\\' .'\\' . "w&;+=-]*[" . '\\' .'\\' . "#t=]*([" . '\\' .'\\' . "d]*)[&;10wshdq=]*','" . '<iframe width="480" height="600" src="//www.youtube.com/embed/$2?controls=0&showinfo=0&fs=1&start=$3" frameborder="0" allowfullscreen></iframe>' . "'),

Thank you so much! I can't believe I missed that line ha ha. I was looking in the completely wrong file XD.
Once proud Documentation Writer and Help Squad Leader | Check out my new adult coloring career: Color With Jade/Patreon.

scotchmonster

I cant get Facebook vids to show up. Do I use the facebook url or the embedding code?

vbgamer45

Quote from: scotchmonster on February 01, 2016, 05:14:07 AM
I cant get Facebook vids to show up. Do I use the facebook url or the embedding code?
Facebook url. If it doesn't work post the url.
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

Dan_

Quote from: vbgamer45 on February 01, 2016, 09:20:39 AM
Facebook url. If it doesn't work post the url.


Here's one...  They don't work with http or https, taken from the embed code link or plain link...


https://www.facebook.com/VernerMotor/videos/924354647627905

scotchmonster

Thanks Dan. That doesnt seem to work either :(

Has anyone ever got a Facebok Video to work?



armandoT

upgrade issue:
Simple Audio Video Embedder
Your Version: 3.5.1 Latest Version: 3.5.2

This package is already installed, and no upgrade was found!
You should uninstall the old version first to avoid problems, or ask the author to create an upgrade from your old version.

3.5.1 already on server ??

Please remember to always make regular backups of your sources and database before installing mods, especially beta versions.
Error in Package Installation
At least one error was encountered during a test installation of this package.
*    7.    Execute Modification    ./Sources/Post.php    Test failed
      1.    Replace    ./Sources/Post.php    Test failed
      2.    Replace    ./Sources/Post.php    Test failed

any recommendations ?
We're in process of performing backup before uninstalling and re-installing.
any thoughts on this appreciated.
thanks in advance

Steve

Quote from: armandoT on February 03, 2016, 08:40:50 AM
upgrade issue:
Simple Audio Video Embedder
Your Version: 3.5.1 Latest Version: 3.5.2

This package is already installed, and no upgrade was found!

3.5.1 already on server ??
any recommendations ?

Asked and answered a few posts ago. http://www.simplemachines.org/community/index.php?topic=395039.msg3857976#msg3857976

:)
DO NOT pm me for support!

armandoT

thank Steve .. I should have followed thread back. My bad.
I ended up uninstalling and re-installing .. I'm good now, reading clean:
Your Version: 3.5.2 Latest Version: 3.5.2

Steve

Quote from: armandoT on February 03, 2016, 09:56:50 AMthank Steve .. I should have followed thread back. My bad.

No worries. Wasn't trying to admonish you or anything. :)
DO NOT pm me for support!

GizmoPower

Quote from: scotchmonster on February 02, 2016, 04:27:21 PM
Thanks Dan. That doesnt seem to work either :(

Has anyone ever got a Facebok Video to work?

Installing this mod did the trick.. Works well with Simple Audio Video Embedder, and no need for -[facebook]- just link.

http://custom.simplemachines.org/mods/index.php?mod=4062

SaltedWeb

I think I am confused it installed just fine no errors but there were no extra buttons added .
Not sure how this works exactly ?

SW
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

SaltedWeb

Ignore the above duh, you just copy paste the url what could be simplify works like a charm.
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Dan_


Quote from: GizmoPower on February 07, 2016, 10:12:09 AM
Has anyone ever got a Facebok Video to work?

Installing this mod did the trick.. Works well with Simple Audio Video Embedder, and no need for -[facebook]- just link.

http://custom.simplemachines.org/mods/index.php?mod=4062



Yes it did the trick for me as well...  Apparently it takes 2 mods to get Facebook videos to embed with just the link.

themavesite

TMS Forums
Since 2008 and still going strong! Join today! http://forums.themavesite.com/index.php

vbgamer45

Local gifv files?

Can't you just put them as an image already?
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: