Difference between revisions of "User:Minooz/OSD600/popcorn"

From CDOT Wiki
Jump to: navigation, search
(My works on Popcorn.js)
(My works on Popcorn.js)
Line 2: Line 2:
 
* Bugs
 
* Bugs
 
: Add url to the name of tagged person in <TT>tagthisperson</TT> plugin. Ticket @ [https://webmademovies.lighthouseapp.com/projects/63272/tickets/91-urls-for-person-tags lighthouse]
 
: Add url to the name of tagged person in <TT>tagthisperson</TT> plugin. Ticket @ [https://webmademovies.lighthouseapp.com/projects/63272/tickets/91-urls-for-person-tags lighthouse]
::
+
:: Currently, tagthisperson plugin, adds the name of the person who is tagged in the video along with his/her image. This ticket is for adding url feature to this plugin. So, if the person has url, show the name as a link.
 +
:: So, I tried to append the <TT><a href></a></TT> syntax to the value of the <TT>options._p[ 'options.person' ]</TT>. But the problem was that it was appending the linked name to the existing value and I couldn't just replace the name of the person with the linked name. I checked with David Humphrey and he suggested to create an object instead of an array for the <TT>people</TT> variable.
 +
:: I created the object with properties: <TT>person, image, href</TT>. Now I have to work on how to keep an array of these objects, to be retrieved at start time and end time.
 +
  
 
* Documentation
 
* Documentation
 
: Add [[User:Minooz/OSD600/popcorn/doc | documentation]] for <TT>tagthisperson</TT> plugin for [http://dev.popcornjs.org popcornjs.org] based on [http://etherpad.mozilla.com:9000/PY40aQY7dV these info]
 
: Add [[User:Minooz/OSD600/popcorn/doc | documentation]] for <TT>tagthisperson</TT> plugin for [http://dev.popcornjs.org popcornjs.org] based on [http://etherpad.mozilla.com:9000/PY40aQY7dV these info]

Revision as of 18:31, 23 February 2011

My works on Popcorn.js

  • Bugs
Add url to the name of tagged person in tagthisperson plugin. Ticket @ lighthouse
Currently, tagthisperson plugin, adds the name of the person who is tagged in the video along with his/her image. This ticket is for adding url feature to this plugin. So, if the person has url, show the name as a link.
So, I tried to append the <a href></a> syntax to the value of the options._p[ 'options.person' ]. But the problem was that it was appending the linked name to the existing value and I couldn't just replace the name of the person with the linked name. I checked with David Humphrey and he suggested to create an object instead of an array for the people variable.
I created the object with properties: person, image, href. Now I have to work on how to keep an array of these objects, to be retrieved at start time and end time.


  • Documentation
Add documentation for tagthisperson plugin for popcornjs.org based on these info