Project-Id-Version: Trac 0.12
Report-Msgid-Bugs-To: trac-dev@googlegroups.com
POT-Creation-Date: 2008-01-30 09:20+0100
PO-Revision-Date: 2010-07-19 23:05+0200
Last-Translator: Jeroen Ruigrok van der Werven <asmodai@in-nomine.org>
Language-Team: en_US <trac-dev@googlegroups.com>
Plural-Forms: nplurals=2; plural=(n != 1)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Generated-By: Babel 0.9.6

Warning: Can't synchronize with repository "(default)" (Unsupported version control system "git": Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information.

Ticket #103 (new improvement)

Opened 9 years ago

Last modified 7 years ago

Emedded Media Information

Reported by: sebastian Owned by:
Priority: minor Milestone: 2.4
Component: explorer Version:
Keywords: embedded, media, Cc:

Description

Images and especially videos could be embedded in other sites. To reveal these embedded link information it would be nice to have a textfield in the media view which could be easily copied by an user.

It could added as additional tab below the media view.

Change History

comment:1 Changed 7 years ago by stevko

Youtube uses iframe for embeds now. I recommend doing the same. For now there would be flash in the iframe, but if later html5 player is added, all embeded videos would automatically have new player.

comment:2 Changed 7 years ago by sebastian

@stevko thank you for your comment. I think using a iframe is a good idea.

phTagr uses currently flowplayer for video support. An Embed plugin (http://flash.flowplayer.org/plugins/javascript/embed.html) creates the embedded code.

For images a similar function must be implemented.

Further question should the embedded link only be available for public media? How phtagr should deal with non-public media? How should be the authentication be realized? Should a media has a special authorization key which is added to the embedded link?

comment:3 Changed 7 years ago by stevko

I checked that if you have link to image in form http://phtagr.example.com/media/preview/<id> that is non-public, then you do not get the image (you get zero size file), so you could just make no distinction between public and non-public embeds and non-public will just not show.

Instead of sending zero length file you could send image with some words like „this is private image” (some better wording). Similar thing could be done for video. If you used iframe, you could even have link to gallery with login page (that will redirect to the image after logging in). If person is logged in you gallery, he/she would probably see embedded image (I am not sure how third party cookies settings in browsers affect this).

Having image/video that can be embedded but is not shown in gallery to me seems a little strange, but I could be wrong. If you think it is good idea then it probably could be done using keys as it is done for RSS feeds.

comment:4 Changed 7 years ago by sebastian

Thanks stevko for your contribution.

It seems that your idea/solution goes into a direction of an embedded gallery: it has authorization error reports with login page and the media. Tickets #105 Embedded phTagr Gallery or #168 Embedded Slideshow go in these direction, too. Therefore, I would suggest that this ticket targets only single files without authorization reports, logins or next image links.

I think a special authentication key per image/video would be sufficient for this ticket. The link stays valid even if the access right changes from public to private.

What do you think?

Note: See TracTickets for help on using tickets.