Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var aud = document.createElement("iframe");
- aud.setAttribute('src', "http://yoursite.com/youraudio.mp4"); // replace with actual file path
- aud.setAttribute('width', '1px');
- aud.setAttribute('height', '1px');
- aud.setAttribute('scrolling', 'no');
- aud.style.border = "0px";
- document.body.appendChild(aud);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement