MTVN Content API Forums

General API Forum

RSS Feed

Newbie Questions

    • Kevin
    • Topic created 1 year ago

    Hello-

    I am new and have some questions on all this, which looks awesome btw :)

    How much content is available? Specifically videos, how far back to they go, etc.
    Is there a limit to the number of requests I can make a day to the api?
    Is there any way to know when a video is over other than setting a timer based on its duration?
    Does the video player throw any events?

    Thanks in advance for your time guys :)

    Kevin

  1. justintormey1 year ago

    Kevin, we're making a large selection of music videos available through the API. The exact number is changing all the time and based on a variety of factors.

    We are enforcing queries per second and queries per day limits. The exact numbers are still in flux. Once we have a gauge of API traffic we'll publicize the limits in the documentation.

    Many, many folks have requested JavaScript access to the player. It's our number one priority right now. Once we have it available it'll be documented here.

    Thanks!

  2. justintormey12 months ago

    The JavaScript controls are now available. We've documented them here:
    http://developer.mtvnservices.com/docs/Content_API_Player_Controls

    We'll have a sample page posted soon, too.

  3. Isuru10 months ago

    hi,

    i am trying to load mtv player swf in to flash but i am getting sand box violation error.
    like this:

    *** Security Sandbox Violation ***
    SecurityDomain 'http://media.mtvnservices.com/global/apps/player/flex/Loader.swf?CONFIG_URL=http%3A%2F%2Fmedia.mtvnservices.com%2Fplayer%2Fconfig.jhtml%3Furi%3Dmgid%253Auma%253Avideo%253Aapi.mtvnservices.com%253A124925%26group%3Dmusic%26type%3Dnormal&uri=mgid%3Auma%3Avideo%3Aapi.mtvnservices.com%3A124925&group=music&type=normal&ref=http%3a%2f%2ffile%3a&geo=LK' tried to access incompatible context 'file:///D|/Worke/Leo%20burnett/Brodband%20Air/scr/lab/mtv.swf'
    SecurityError: Error #2047: Security sandbox violation: parent: http://media.mtvnservices.com/global/apps/player/flex/Loader.swf?CONFIG_URL=http%3A%2F%2Fmedia.mtvnservices.com%2Fplayer%2Fconfig.jhtml%3Furi%3Dmgid%253Auma%253Avideo%253Aapi.mtvnservices.com%253A124925%26group%3Dmusic%26type%3Dnormal&uri=mgid%3Auma%3Avideo%3Aapi.mtvnservices.com%3A124925&group=music&type=normal&ref=http%3a%2f%2ffile%3a&geo=LK cannot access file:///D|/Worke/Leo%20burnett/Brodband%20Air/scr/lab/mtv.swf.
    at flash.display::DisplayObject/get parent()
    at mx.managers::SystemManager/executeCallbacks()
    at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::docFrameHandler()

    thanks

  4. justintormey10 months ago

    Isuru,
    I believe you need to set Security.allowInsecureDomain in your SWF.

    Hope that helps!
    Jt.

  5. Isuru10 months ago

    thank you very much for reply.
    its work perfectly in normal flash but not in Adobe Air.

  6. TylerSmith8 months ago

    Isuru,

    While I don't recommend loading the player into Air. If you are curious you should read this document on the Air security model.

  7. TylerSmith8 months ago

    http://www.adobe.com/devnet/air/articles/introduction_to_air_security.html

  8. minim338 months ago

    where did this one move to:
    http://developer.mtvnservices.com/docs/Content_API_Player_Controls
    ???
    any alternative page of that sort anywhere?

  9. DTR6 months ago

    Isuru,
    I have the same problem as u do. Did u find a solution for your problem? If yes & you do not mind sharing, please let me know.
    Thx
    DTR

New comments are not being accepted at this time.