aboutsummaryrefslogtreecommitdiffstats
path: root/hints-for-embedded.js
diff options
context:
space:
mode:
authoranekos2011-10-30 01:42:43 +0900
committeranekos2011-10-30 01:44:06 +0900
commit2588ec5e1a2da314d70691d933c12c5e31f64222 (patch)
treee47a0b6d0c882747ce5bef4bcf52bc030f1e6fc4 /hints-for-embedded.js
parent23400a2f55f37df4101528fff92dee725ecd77f9 (diff)
downloadvimperator-plugins-2588ec5e1a2da314d70691d933c12c5e31f64222.tar.bz2
Fix for youtube
Diffstat (limited to 'hints-for-embedded.js')
-rw-r--r--hints-for-embedded.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/hints-for-embedded.js b/hints-for-embedded.js
index 1c90412..d4bc451 100644
--- a/hints-for-embedded.js
+++ b/hints-for-embedded.js
@@ -35,7 +35,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
// INFO {{{
let INFO =
<>
- <plugin name="HintsForEmbeded" version="1.5.0"
+ <plugin name="HintsForEmbeded" version="1.5.1"
href="http://github.com/vimpr/vimperator-plugins/blob/master/hints-for-embedded.js"
summary="Add the hints mode for embedded objects."
lang="en-US"
@@ -150,7 +150,7 @@ let INFO =
youtube_iframe: {
site: /youtube/,
name: /^src$/,
- value: /http:\/\/www\.youtube\.com\/embed\/(.+)/,
+ value: /http:\/\/www\.youtube\.com\/(?:embed|v)\/([-a-zA-Z0-9_]+)/,
url: function (id) ('http://www.youtube.com/watch?v=' + id)
},
youtube: {