A bit of an overhaul
- Built in the MCW - Updated some links to direct to awexxx.xyz - Changed around the CSS
This commit is contained in:
@@ -6,10 +6,12 @@
|
||||
const medalapi = 'https://developers.medal.tv/v1/latest?userId=215577&limit=1'
|
||||
|
||||
async function medalClips() {
|
||||
window.addEventListener('load', function () {
|
||||
const { contentObjects } = await fetch(medalapi, {
|
||||
method: 'GET',
|
||||
headers: { 'Authorization': 'pub_x9mjeQnqk07tEK1ge7w2xHYxTpTEbKwN', 'Content-Type': 'application/json' }
|
||||
}).then(response => response.json())
|
||||
|
||||
document.querySelector("#clip").innerHTML = contentObjects[0].embedIframeCode
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user