Open main menu

CDOT Wiki β

Changes

User:Minooz/OSD600/popcorn

2,117 bytes added, 16:18, 11 March 2011
My works on Popcorn.js
* Helpful tips
: Problem with XHRHttpRequest on Chrome while running a local file on the browser [http://stackoverflow.com/questions/4819060/use-xmlhttprequest-to-load-url-from-local-file Disable Web Security]
: overlay an image with image [http://www.tjkdesign.com/articles/png_overlay_with_no_extra_markup.asp]
: center an image using javascript [http://stackoverflow.com/questions/689991/center-image-inside-overflow-hidden-parent]
 
 
=== Release 0.2===
:[http://popcornjs.org/ '''popcorn.js''']
:Source Control: git
:BugTracker: [https://webmademovies.lighthouseapp.com/projects/63272-popcorn-js Lighthouse]
:Blog: @ [http://Minooz.wordpress.com wordpress]
 
* 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-tagslighthouse]
:: 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.
:: The second option didn't work, just because we couldn't append commas to separate names as they were coming not as a part of the object itself. So I switched back to the old version of code, just added the href link in cases the option had the href src.
* 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]
 
* Helpful tips
: Problem with XHRHttpRequest on Chrome while running a local file on the browser [http://stackoverflow.com/questions/4819060/use-xmlhttprequest-to-load-url-from-local-fileDisable Web Security]
: overlay an image with image [http://www.tjkdesign.com/articles/png_overlay_with_no_extra_markup.asp]
: center an image using javascript [http://stackoverflow.com/questions/689991/center-image-inside-overflow-hidden-parent]
1
edit