Permalink
Commits on Nov 18, 2014
  1. Merge pull request #188 from mfairchild365/require-feed

    Require a feed to be chosen
    kabel committed Nov 18, 2014
Commits on Aug 1, 2014
  1. Get the id from the video element

    JS is only loaded once, so the first id was being used, which caused more duplicate IDs.  Instead get the id from the media's element.
    mfairchild365 committed Aug 1, 2014
  2. make the id unique

    Multiple videos can be embeded on the same page, so we were getting duplicate IDs.  This should fix that.  Unless they have the same video on the same page twice...
    mfairchild365 committed Aug 1, 2014
Commits on Jul 21, 2014
  1. Merge pull request #110 from mfairchild365/embed-accessibility

    add labels and titles to share input/links
    kabel committed Jul 21, 2014
Commits on Jun 2, 2014
Commits on Apr 25, 2014
  1. Merge pull request #108 from mfairchild365/embed-encoding

    encode the embed code as utf-8
    saltybeagle committed Apr 25, 2014
  2. encode the embed code as utf-8

    The production server is running php 5.3, which has the default encoding set to ISO-8859-1, which causes problems with things like magic quotes.
    mfairchild365 committed Apr 25, 2014
Commits on Feb 12, 2014
  1. Add support for srt formatted subtitle tracks, and use srt as default

    Fixes captioning within Firefox and Chrome browsers
    saltybeagle committed Feb 12, 2014
Commits on Nov 18, 2013
  1. Prevent the #media_url from being overridden

    There is a race between the upload js and the js to set the `#media_url` from the add media form (`#url`).  We should only ever set the value of `#media_url` with `#url` IFF it is NOT an upload.  Otherwise, we could upload the video, set the `#media_url` with the uploaded url and then the rest of the script would execute and set the `#media_url` to null, because a `#url` was never provided.
    mfairchild365 committed Nov 18, 2013
  2. code cleanup

    mfairchild365 committed Nov 18, 2013
Commits on Nov 14, 2013
  1. Merge pull request #105 from mfairchild365/embed

    Include current embed code in the JSON api for media
    kabel committed Nov 14, 2013
Commits on Nov 13, 2013
  1. Prevent double submits

    there was a case (in IE) where media was being submitted twice.  This is because two submit buttons were being clicked.  Prevent the default action of the first one, so that only one submit event will be fired.
    mfairchild365 committed Nov 13, 2013
  2. scope variables

    mfairchild365 committed Nov 13, 2013
  3. Remove old TODO

    mfairchild365 committed Nov 13, 2013
  4. share form: Handle multiple embedded videos

    Don't reply on global variables pointing to the correct video, this can change if multiple videos are loaded.  Instead, reference the correct form from the context of the event.
    mfairchild365 committed Nov 13, 2013
Commits on Nov 12, 2013
  1. Use new framework front

    mfairchild365 committed Nov 12, 2013
  2. Merge pull request #103 from mfairchild365/embed

    Allow custom poster images
    kabel committed Nov 12, 2013
  3. Use a better check for missing posters

    The status header will always be the first in the array (no need to check the others). Also, not all servers will respond with HTTP/1.1. Also, servers will not always use the string Not Found. Only the response code is guaranteed by the protocol.
    
    404 is also not the only problematic response.
    mfairchild365 committed Nov 12, 2013
  4. Send a HEAD request

    mfairchild365 committed Nov 12, 2013
Commits on Nov 11, 2013
  1. Merge pull request #104 from mfairchild365/share

    Add social sharing to videos (embedded and on mediahub)
    kabel committed Nov 11, 2013
  2. Remove unused var `i`

    mfairchild365 committed Nov 11, 2013
  3. Don't use noConflict

    mfairchild365 committed Nov 11, 2013