+ def parse_html5_src(page_data)
+ html5_src_regex = /\"<source src='([^']+?)'/
+
+ matches = html5_src_regex.match(page_data)
+
+ if matches.nil? or matches.length < 2
+ raise StandardError.new("Could not parse the HTML5 source src.")
+ else
+ return matches[1]
+ end
+
+ end
+
+