News:

SMF 2.0.19 has been released! Please update. Read more.

Main Menu

Simple Audio Video Embedder

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

Previous topic - Next topic

sdkid


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

hamsterdaddy

 :)  Running Simple Audio Video Embedder 1.0.9 in 1.1.16

Do I have to uninstall it before loading the new version 2.0.6 with package manager?    :o

Thanks vbgamer45 !     ;D

I thought maybe the new upload would over write the old one. I'll do as you suggest.   8)

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

kak2z

Hi!
Have to turn off the embed video in the quote.
You can implement this in the next version?
Thank you.
Новости и слухи Дом 2. Популярные рецепты в рубрике Что приготовить

Mariano

I can't make it work with my own theme! I'm not using the default one.

BTW, great mod! Thanks.

TheListener

Quote from: Mariano on September 21, 2012, 07:06:04 PM
I can't make it work with my own theme! I'm not using the default one.

Why can't you make it work on the theme you are using?


vbgamer45

The mod doesn't make any theme edits what issue are you running into?
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

Mariano

I'm using I-Style from graphicjunki.

I installed it but YouTube links are shown like any other link. Videos are not being embedded.

EDIT: Nevermind. It was a setting problem. It wasn't activated -.-

Apllicmz

Nice work
when Update dont forget portuguese files

<file name="$languagedir/Modifications.portuguese_pt-utf8.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin Auto Embed Media Pro Text Strings translate by Candidosa2
$txt['mediapro_admin'] = 'Embedder v&iacute;deo simples de &aacute;udio';
$txt['mediapro_settings'] = 'Defini&ccedil;&otilde;es';
$txt['mediapro_save_settings'] = 'Guardar Defini&ccedil;&otilde;es';
$txt['mediapro_err_cache'] = 'Pasta cache n&atilde;o grav&aacute;vel deve fixar para o desempenho!';
$txt['mediapro_settings2'] = 'Defini&ccedil;&otilde;es e configura&ccedil;&atilde;o de v&iacute;deo simples Embedder &aacute;udio';
$txt['mediapro_copyremove'] = 'Remo&ccedil;&atilde;o de direitos de auctor';
$txt['mediapro_copyremove2'] = 'Remover os direitos autorais para Embedder v&iacute;deo &aacute;udio simples';
// END Auto Embed Media Pro  Text Strings    Support SMFPT       
]]></add>
    </operation>
</file>

<file name="$languagedir/Modifications.portuguese_pt.php" error="skip">
    <operation>
        <search position="end" />
        <add><![CDATA[
// Begin Auto Embed Media Pro Text Strings translate by Candidosa2
$txt['mediapro_admin'] = 'Embedder v&iacute;deo simples de &aacute;udio';
$txt['mediapro_settings'] = 'Defini&ccedil;&otilde;es';
$txt['mediapro_save_settings'] = 'Guardar Defini&ccedil;&otilde;es';
$txt['mediapro_err_cache'] = 'Pasta cache n&atilde;o grav&aacute;vel deve fixar para o desempenho!';
$txt['mediapro_settings2'] = 'Defini&ccedil;&otilde;es e configura&ccedil;&atilde;o de v&iacute;deo simples Embedder &aacute;udio';
$txt['mediapro_copyremove'] = 'Remo&ccedil;&atilde;o de direitos de auctor';
$txt['mediapro_copyremove2'] = 'Remover os direitos autorais para Embedder v&iacute;deo &aacute;udio simples';
// END Auto Embed Media Pro  Text Strings    Support SMFPT       
]]></add>
    </operation>
</file>



erazorbg

Hello, thanks for this Mod.

I made a slight modification, that I needed for my forum. I put a checkbox in the user profile page, to enable/disable the emebeding.
That way every user can choose to disable it, because embeding videos can make loading threads very painful for users with slower computers.
The modification is only for 2.x versions, but it's probably not hard to make it work for 1.x too.

I'm not sure if this is the proper way of doing it but I attached a .patch file if you want to maybe include it in future versions, or if someone else might want such 'feature'

chr05210084

Hi, this is a very nice module. Can we add an option to only show the embedded videos to registered users only and hide it to guests. Thanks.

vbgamer45

Quote from: chr05210084 on December 13, 2012, 08:31:13 PM
Hi, this is a very nice module. Can we add an option to only show the embedded videos to registered users only and hide it to guests. Thanks.
Hide completely or just show the link to the video?
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

chr05210084

hide the video completely and replace with this message "visitors can't see video, please register or login".

spiros

When it comes to local files, is there a way to change the dimensions on a per file basis, i.e. some sort of short code in the post, or the only way is through the Admin settings?

vbgamer45

There currently is no shortcodes. You could manually update the database for a specific video site then update the media cache and that would cause it take affect.
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

spiros

Cool, would that do the job for example for local wmv files?

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

spiros

In case this could be useful for somebody else, in order to customize size on a per post basis, for wmv files for example, I use this code (within html tags of course). Simply enter your URL in the 2 YOUR_URL instances and change the size at will in the two WIDTH="800" HEIGHT="575" instances.

If you want it to autostart, change autostart from false to true in the first instance and from 0 to 1 in the second.

[html]<OBJECT ID="MediaPlayer" WIDTH="800" HEIGHT="575" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
<PARAM NAME="FileName" VALUE="YOUR_URL">
<PARAM name="autostart" VALUE="false">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="false">
<PARAM name="ShowDisplay" VALUE="false">
<EMBED TYPE="application/x-mplayer2" SRC="YOUR_URL" NAME="MediaPlayer"
WIDTH="800" HEIGHT="575" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
</OBJECT>[/html]

RADZ

Dont seem to work on 2..0.3 im on default theme but when post video in thread still just shows the url.

Advertisement: