I want to go forth and develop a plugin to provide more advanced media handling within pLog. However, I should discuss if I should just make a plugin, or rather work it into the core of codebase. Maybe you can give me your opinion. I would first consider the latter, and if more customizable atrributes are to be added, then maybe at that point I direct focus to make plugin.
First phase is just to add basic media handling of files in the resource galleries. I think we should have a media player for viewing video/audio etc.. using embed tages to utilize web browser plugins for quicktime player, windows media player, real media player and flash player.
Then the gallery templates can be adjusted to display a link to use external player or use embedded web player. If embedded player is selected, it will add specific code to make it happen.
If this is to be sent to the htmlArea or regular textArea, we edit:
and add on to or modify the if/else code here.
So you mean that when the resource is a video, the user would allowed to choose between adding just a link to it, playing it inline or playing it in a pop-up window? Well, if that's the idea, go ahead
That's an option I wanted to research a little bit more before releasing 0.3 but I didn't have much time and I didn't want to delay 0.3 any further... Give it a try and let's see what you get!
I have done all this in similar situation with the Nucleus Web Log Code. It is even easier to achieve these results using pLog.
Phase 2 will add more options and this can either be in form of a plugin or add more to code base.
Options such as:
-Player Object/Embed Parameters
-Inline or Popup Window Player
-Define/Create Player Specific Smarty Templates
-Blog/User data to add together with Media Player
-Additional Options like ratings or Player specific comments
-Icon Associations and Media Logos
Oscar, what are your thoughts on this for both core base and plugin base implementations?
Plugins do not have hooks in the admin interface, save only to display a link and to configure them. That is, when you post a an article or add a resource to a post plugins are not being used at all... I don't know how this can be achieved using a plugin. Perhaps we could add an additional page to the "Resource Center" where all these things could be found, as well as some others?