Start learning with our library of video tutorials taught by experts. Get started
Viewers: in countries Watching now:
This course shows how to communicate between web pages, both within a single domain and across one or more domains, using the HTML5 Messaging API. Author Bill Weinman reviews security and the same origin policy, details cross-origin scripting techniques, and explores examples of cross-document messaging. The course describes how to register and send messages to listeners and handle errors.
In this course my goal was to give you a good understanding of the HTML5 messaging application programming interface. I've covered how the API works, how to setup the event handlers, how to send and receive data, and how to handle errors in your messaging applications. Using these features, you should be able to implement cross-origin scripting for your own applications. As with most of the HTML5 application technologies, the specifications for the HTML5 messaging API remains in flux. I suggest that you keep up with these changes in order to make sure that your code works with current and future browsers.
There are currently no FAQs about HTML5: Messaging and Communications in Depth.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.