PageSourceSearch

https://www.veracode.com/wp-content/themes/berg-theme-child/assets/js/berg/berg-video-codec.js?ver=1.0.0

js veracode.com collected 2026-09-24 09:05:37 UTC 483 bytes, 16 lines download raw bytes

1// ==UserScript==
2// @name        Fix Berg Video Codec
3// Fix media element block video loading issue
4
5(function() {
6    'use strict';
7    const sources = document.querySelectorAll('video source[type*="hvc1"]');
8    sources.forEach(source => {
9        source.setAttribute('type', source.getAttribute('type').replace('hvc1', 'vp9'));
10    });
11    const videos = document.querySelectorAll('video');
12    videos.forEach(video => {
13        video.load();
14        video.play();
15    });
16})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.