CameronHeadlee / Ear-Worm

0 stars 0 forks source link

API Requirements #7

Open CameronHeadlee opened 2 years ago

CameronHeadlee commented 2 years ago

These are going to be requirements for both of our API's.

Michael327-cmh commented 2 years ago

MusixMatch

-Before your product goes live, please take 5 minutes to read this checklist and make sure that you’ve got everything covered. Read the API Terms of Services to be sure your application complies. Not sure about something? Write us at: support@musixmatch.com Check your API calls limits, do they fit the expected traffic? Our lyrics are UTF-8 encoded. Are you handling the encoding correctly? Make sure you have correctly implemented: whenever you display lyrics in a page, show also the value of lyrics_copyright you received from track.lyrics.get the lyrics tracking script to count the lyrics visualizations (track.lyrics.get). To check this, login into the admin panel, check the stats page under the voice “lyrics visualization credits”. If it shows some numbers, it works! Don't forget to add the "powered by" image provided by Musixmatch and have it linked to www.musixmatch.com

Michael327-cmh commented 2 years ago

YouTube

Embedded players must have a viewport that is at least 200px by 200px. If the player displays controls, it must be large enough to fully display the controls without shrinking the viewport below the minimum size. We recommend 16:9 players be at least 480 pixels wide and 270 pixels tall.

Any web page that uses the IFrame API must also implement the following JavaScript function:

onYouTubeIframeAPIReady – The API will call this function when the page has finished downloading the JavaScript for the player API, which enables you to then use the API on your page. Thus, this function might create the player objects that you want to display when the page loads.