Merge pull request #2811 from q--/Fix_VideoJS_detection

Fix and improve VideoJS detection
main
Elbert Alias 5 years ago committed by GitHub
commit 6bd86e0f4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -11476,11 +11476,16 @@
14 14
], ],
"html": "<div[^>]+class=\"video-js+\">", "html": "<div[^>]+class=\"video-js+\">",
"icon": "VideoJS.png", "icon": "VideoJS.svg",
"js": { "js": {
"videojs.VERSION": "^(.+)$\\;version:\\1",
"videojs": "",
"VideoJS": "" "VideoJS": ""
}, },
"script": "zencdn\\.net/c/video\\.js", "script": [
"zencdn\\.net/c/video\\.js",
"^(?:https?:)?\\/\\/(?:[^\\/]+\\.)*cdnjs\\.cloudflare\\.com\\/ajax\\/libs\\/video\\.js\\/([\\d\\.]+)\\/\\;version:\\1"
],
"website": "http://videojs.com" "website": "http://videojs.com"
}, },
"VigLink": { "VigLink": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 311 B

@ -0,0 +1,54 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
id="svg43"
version="1.1"
height="145.284"
width="145.284"
viewBox="0 0 145.284 145.284"
style="isolation:isolate">
<metadata
id="metadata47">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs13">
<clipPath
id="_clipPath_Cfwl2kqCUXeiMludatRayR75mHP9d0Q0">
<rect
y="0"
x="0"
id="rect10"
height="338.995"
width="595.276" />
</clipPath>
</defs>
<g
transform="translate(-225.678,-63.245)"
id="vjs-hex">
<path
d="m 225.678,136.351 36.563,-44.689 h 71.654 l 37.067,44.689 -37.067,43.761 h -71.654 z"
id="path30"
style="fill:#717780" />
<path
d="m 239.604,136.351 26.629,-34.526 h 44.508 l -26.597,34.526 26.597,33.599 h -44.508 z"
id="path32"
style="fill:#eceef1" />
<path
d="m 356.659,136.351 -26.047,-34.526 h -14.404 l -15.253,18.782 11.495,15.744 -11.495,15.675 15.253,17.924 h 14.404 z"
id="path34"
style="fill:#c8ccd2" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Loading…
Cancel
Save