I think I'm going crazy, all my searches indicate I am doing this properly, but I am still getting the opposite results. I have two scripts. The first one is the library (RecordRTC), and the second one is my javascript using the library. No matter what I do, my script loads first - and the library loads second. And my browser keeps showing (in the timeline) that this is true, and my script keeps showing the error "RecordRTC not defined" - that my script is calling the library before it has loaded.
Below is ALL the html code I'm using. Please send help.
<!DOCTYPE html> <html lang="en"> <head> <title>Testing RecordRTC</title> <script type='text/javascript' src="http://RecordRTC.org/latest.js"></script> </head> <body> <div id="videos-container"> <video id="video"></video> </div> <script type='text/javascript' src="./js/videos02.js" defer></script> </body> </html>