Announcement

#1 2012-12-05 15:47:33

julien1311
Member
1970-01-01
18

[Plugin] Media Icon

Hi,

I've created my first plugin : [extension by julien1311] Media Icon. It adds an icon to "non picture" files (such as pdf files, embedded videos, etc...)

Hope it'll be usefull ;)

Julien

Offline

 

#2 2012-12-22 23:50:38

CaptainStarbuck
Member
2012-12-22
9

Re: [Plugin] Media Icon

Thanks for the plugin. I just installed a new Piwigo environment and added/activated Media Icon v2.4.D.

On clicking the plugin configuration link for page=plugin-media_icon, I get error:

Invalid URL - plugin media_icon not active

HTH

Last edited by CaptainStarbuck (2012-12-22 23:51:31)

Offline

 

#3 2012-12-23 22:27:03

julien1311
Member
1970-01-01
18

Re: [Plugin] Media Icon

CaptainStarbuck wrote:

Thanks for the plugin. I just installed a new Piwigo environment and added/activated Media Icon v2.4.D.

On clicking the plugin configuration link for page=plugin-media_icon, I get error:

Invalid URL - plugin media_icon not active

HTH

Thank you for your feedback. It will be fixed in the next version coming before the end of the year.
Julien

Offline

 

#4 2014-03-03 23:21:18

kumen
Guest

Re: [Plugin] Media Icon

Thanks for the plugin. It's very useful!! Unfortunately it don't work with Piwigo 2.6.1 and Stripped & Columns theme. In previous release of piwigo/theme I was able to fix it. I changed string for replacing/inserting plugin code. But now it doesn't work. Piwigo alerting about compatibility.

Can you fix it, please? Thanks!!

 

#5 2014-08-26 08:37:32

SilverPicture
Member
2014-08-21
1

Re: [Plugin] Media Icon

I would like to use the plugin with Piwigo 2.6.3, but unfortunately it does not work with the current plugin version. Is an update of the plugin planned?

Offline

 

#6 2014-10-30 09:13:29

cl9m
Member
France
2014-02-10
1

Re: [Plugin] Media Icon

I would like to use the plugin with Piwigo 2.7.1,
An update of this plugin is planned?

Offline

 

#7 2017-09-16 04:55:47

Clouseau
Member
2017-09-16
1

Re: [Plugin] Media Icon

I like this Plugin, but i miss some more Filetypes.

How can i add more Filetypes? Like:  DXF, SVG, SLDPRT, PDN, ...

Do you have any advice for me?

Offline

 

#8 2017-09-16 06:51:51

ddtddt
Piwigo Team
Quetigny - France
2007-07-27
7207

Re: [Plugin] Media Icon

Clouseau wrote:

I like this Plugin, but i miss some more Filetypes.

How can i add more Filetypes? Like:  DXF, SVG, SLDPRT, PDN, ...

Do you have any advice for me?

Hi :-)

Have you test add icone in plugin folder Media_Icon/template/icons

and add in Media_Icon/install/config_default.inc.php

--------------------
        'presentation' => array(
            'name' => 'Presentations',
            'infos' => 'Files supported: ppt, pptx and odp',
/*add*/        ),    'dxf' => array(
            'name' => 'picture DXF',
            'infos' => 'Files supported: dxf', ....
        ),


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#9 2018-07-27 01:35:31

ckong
Member
2014-12-28
4

Re: [Plugin] Media Icon

This is an awesome plugin that I continue to use to this day (on version 2.9.4 now).  I only recently found out that OneDrive can be used as an embed source.  The comprehensive instructions on how to do this are posted here:

https://blog.omaration.com/embedding-vi … your-blog/

OneDrive allows embeded videos.  iFrame code will be generated that looks like this:

<iframe src="https://onedrive.live.com/embed?cid=<secret-cid-code>&resid=<secret-resid-code>&authkey=<secret-auth-key>" width="320" height="179" frameborder="0" scrolling="no" allowfullscreen></iframe>

It needs to be changed to something like this:

<video width="680" height="400" controls controlsList="nodownload" poster="link to your poster image">
<source src="https://onedrive.live.com/download?cid=<secret-cid-code>&resid=<secret-resid-code>&authkey=<secret-auth-key>" type="video/mp4">
Your browser does not support the video tag.
</video>

Please note that the word "embed" has been changed to "download".  This is critical or it won't work.  (I struggled for a few hours figuring out this simple mistake.)

I also discovered that if I want the Embedded Video plugin to show a watermark, I need to name my thumbnail with a ".mp4.jpg" extension.

Much thanks to julien1311 for creating this plugin, and to Omar Al-Terkawi for his blog posting on how to embed videos from OneDrive.

Last edited by ckong (2018-07-27 03:06:46)

Offline

 

#10 2021-03-27 15:50:44

pk_rulz
Member
2021-03-27
2

Re: [Plugin] Media Icon

I tried using this on Piwigo 11.4 and it does not seem to work. Ofcourse it doesnt say compatible either but I was curious it we can be fixed somehow.

Last edited by pk_rulz (2021-03-27 15:55:51)

Offline

 

#11 2021-05-11 11:06:03

dmfisch
Member
Geneva
2019-09-02
12

Re: [Plugin] Media Icon

Hello everyone,
I do find it so useful as well!
upadating it to 11.4 would be great

Willing to help, just able to test!
best regards!
David


Photographer
No coding skills but willing to help and test!

Offline

 

#12 2021-06-25 07:05:00

nicolesharp100
Member
Cumberland, Maryland, USA
2021-06-25
1

Re: [Plugin] Media Icon

There appears to be a bug where "*.MP4" files are not recognized as videos, but "*.mp4" files are.

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact