Created
September 3, 2014 14:46
-
-
Save yllus/28bd42df7175a41869ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function getVideoContent() { | |
| var metas = document.getElementsByTagName('meta'); | |
| for ( var i = 0; i < metas.length; i++ ) { | |
| if ( metas[i].getAttribute("http-equiv") == 'Content-Language' ) { | |
| return metas[i].getAttribute("content"); | |
| } | |
| } | |
| return ''; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment