# Week 6 - Cordova Media, CORS
# Cordova Media
When dealing with audio and video files in Cordova we cannot entirely rely on using just the HTML5 audio and video elements. iOS, in particular, has a variety of security restrictions on using media files in the browser that are not being handled by the native media app.
Learn more about the Cordova Media Plugin
# CORS
Cross-Origin Resource Sharing is how browsers deal with the same-origin policy and try to protect users from (XSS) Cross Site Scripting attacks and other security issues. See the OWASP Top 10 (opens new window).
There is a set of guidelines for us to follow whenever we are retrieving data from a webserver other than the one that served us our HTML file.
Learn about CORS, CORP, and CORB
TODO
- Read the content and watch the videos for Weeks 6 and 7
- Work on Hybrid 2 Mapbox
- Read notes and prepare for Cordova PlayR project