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

From CDOT Wiki
Jump to: navigation, search
(Release 0.1)
(My works on Popcorn.js)
Line 18: Line 18:
 
* Helpful tips
 
* 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]
 
: 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]
 
: 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]
 
: center an image using javascript [http://stackoverflow.com/questions/689991/center-image-inside-overflow-hidden-parent]

Revision as of 16:18, 11 March 2011

My works on Popcorn.js

Release 0.1

popcorn.js
Source Control: git
BugTracker: Lighthouse
Blog: @ wordpress
  • 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.
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 documentation for tagthisperson plugin for popcornjs.org based on these info
  • Helpful tips
Problem with XHRHttpRequest on Chrome while running a local file on the browser Disable Web Security
overlay an image with image [1]
center an image using javascript [2]


Release 0.2

popcorn.js
Source Control: git
BugTracker: Lighthouse
Blog: @ wordpress
  • Bugs
Add url to the name of tagged person in tagthisperson plugin. Ticket @ [3]
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.
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 documentation for tagthisperson plugin for popcornjs.org based onthese info
  • Helpful tips
Problem with XHRHttpRequest on Chrome while running a local file on the browser Web Security
overlay an image with image [4]
center an image using javascript [5]