Sleazy Fork is available in English.

JavBus Javdb library trailer

JavBus/Javdb/library图书馆预告片花Direct,番号页封面下直接显示,默认静音播放

Ajankohdalta 6.11.2022. Katso uusin versio.

// ==UserScript==
// @name         JavBus Javdb library trailer
// @name:zh-CN   JavBus/Javdb/library图书馆预告片花Direct
// @namespace    https://greasyfork.org/zh-CN/scripts/441120-javbus-javdb-library-trailer
// @homepageURL  https://greasyfork.org/zh-CN/scripts/441120-javbus-javdb-library-trailer
// @version      2022.1107.0100
// @description         JavBus/Javdb/library图书馆预告片花Direct,番号页封面下直接显示,默认静音播放
// @description:zh-cn   JavBus/Javdb/library图书馆预告片花Direct,番号页封面下直接显示,默认静音播放
// @author       匿名
// @license      GPL

// @include      /^.*(jav|bus|dmm|see|cdn|fan){2}\..*$/
// @include      *://*.javlib.com/*
// @include      *://*.javlibrary.com/*
// @include     *://*/cn/?v=jav*
// @include     *://*/en/?v=jav*
// @include     *://*/tw/?v=jav*
// @include     *://*/ja/?v=jav*
// @include      *://*/tw/movie/jav*
// @include      *://javdb*.com/v/*
// @match      *://*.javlib.com/*
// @match      *://*.javlibrary.com/*
// @match      *://www.javbus.com/*
// @match      *://www.javdb.com/*
// @grant        GM_download
// @grant        GM_xmlhttpRequest
// @grant        GM_getValue
// @grant        GM_setValue
// @grant        GM_notification
// @grant        GM_setClipboard
// @grant        GM_getResourceURL

// @connect      btsow.club
// ==/UserScript==

/**
 *  - 2022-11-01 新增支持javdb,补足db已有预览片不足,legsjapan全系列数据静态支持
 *  - 2022-09-15 重新对片花地址进行修正,支持bus和图书馆,并公开分享脚本,期待愈加完善
 *  - 以下为历史记录
 *  - 2022-03-08
 *    脚本由 https://greasyfork.org/zh-CN/scripts/400267-javbus 二次修改以兼容老司机脚本
 *  - 只保留 预告片 功能,其它剔除
 *  - 可根据电脑分辨率自行调整播放器宽度,高度会自适应(搜索1120px修改合适值)
 *  - (脚本是在和老司机脚本做兼容,不保证兼容其它脚本,水平有限,仅作自用,不予公开)
 */
(function () {
    'use strict';
    function GM_addStyle(css) {
        const style = document.getElementById("GM_addStyleBy8626") || (function () {
            const style = document.createElement('style');
            style.type = 'text/css';
            style.id = "GM_addStyleBy8626";
            document.head.appendChild(style);
            return style;
        })();
        style.innerHTML = css;
    }
    /**
     * 左则补零
     * @param num
     * @param len
     * @returns {*}
     */
    function format_zero(num, len) {
        if (String(num).length > len) return num;
        return (Array(len).join(0) + num).slice(-len);
    }
    //瀑布流
    class Waterfull {
        constructor() {
            // 瀑布流状态:1:开启、0:关闭
            this.waterfullScrollStatus = GM_getValue('scroll_status', 1);
            this.done = true;
            this.masonryObj = null;
            this.config = {};
        }

        init(config) {
            this.config = config;
            //滚动
            if (this.waterfullScrollStatus > 0 && $(this.config['pagination']).length > 0) {
                document.addEventListener('scroll', this.scroll.bind(this));
            }
            if (this.config['useMasonry']) {
                this.masonryObj = $(this.config['selector']).masonry({
                    itemSelector: this.config['items'],
                    isAnimated  : false,
                    isFitWidth  : true
                })
            }
        }

        //滚动到底获取数据
        scroll() {
            if ($(this.config['pagination'])[0].getBoundingClientRect().top - $(window).height() < 500 && this.done) {
                this.getData();
            }
        };

        //获取数据
        getData() {
            let url = $(this.config['next']).attr('href');
            let _this = this;
            if (url !== undefined) {
                this.done = false;
                fetch(url, {credentials: 'same-origin'})
                    .then(function (response) {
                        return response.text();
                    })
                    .then(function (html) {
                        let dom = new DOMParser().parseFromString(html, 'text/html');
                        dom = $(dom);
                        let avatarBox = dom.find(_this.config['items']).find('.avatar-box');
                        if (avatarBox.length > 0) {
                            avatarBox.parent().remove();
                        }
                        let elems = dom.find(_this.config['items']);
                        elems.each(function (i) {
                            $(this).attr('style', '');
                            $(this).find('a').attr('target', '_blank')
                            if (_this.config['selector'] === 'div#video_comments') {
                                let text = $(this).find('textarea').val();
                                text = text.replace(/\[url=([^\[\]]*?)\](.*?)\[\/url\]/g, '<a href="redirect.php?url=$1" target="_blank">$2</a>')
                                text = text.replace(/\[color=([^\[\]]*?)\](.*?)\[\/color\]/g, '<span style="color:$1">$2</span>')
                                text = text.replace(/\[b\](.*?)\[\/b\]/g, '<b>$1</b>')
                                $(this).find('.text').html(text).css('width', '442px');
                            }
                        });
                        $(_this.config['pagination']).html(dom.find(_this.config['pagination']).html());
                        $(_this.config['selector']).append(elems);
                        if (_this.config['useMasonry']) {
                            _this.masonryObj.masonry('appended', elems).masonry();
                        }
                        _this.done = true;
                    })
            }
        }
    }
    class Request {
        constructor() {
            this.lock = [];
        }
        send(url, successCallback) {
            let _this = this;
            return new Promise(function (resolve, reject) {
                let index = _this.lock.indexOf(url);
                if (index === -1) {
                    _this.lock.push(url);
                    GM_xmlhttpRequest({
                        url,
                        method   : 'GET',
                        headers  : {
                            "Cache-Control": "no-cache"
                        },
                        timeout  : 30000,
                        onload   : function (response) {
                            console.log(url + ' success');
                            _this.lock.splice(index, 1);
                            resolve(response);
                        },
                        onabort  : (e) => {
                            console.log(url + " abort");
                            reject("wrong");
                        },
                        onerror  : (e) => {
                            console.log(url + " error");
                            console.log(e);
                            reject("wrong");
                        },
                        ontimeout: (e) => {
                            console.log(url + " timeout");
                            reject("wrong");
                        },
                    });
                } else {
                    reject("发送请求ing");
                }
            }).then(function (response) {
                successCallback(response);
            }, function (err) {
                console.log(err)
            });
        }
    }
    class Base {

        downloadPic(title, imgUrl) {
            GM_download({
                url   : imgUrl,
                saveAs: false,
                name  : title + imgUrl.substring(imgUrl.lastIndexOf("."))
            });
        }
        addVideo(code, obj) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
            let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_w.mp4';
            if (code.indexOf('HEYZO') !== -1) {
                videoUrl = 'https://www.heyzo.com/contents/3000/' + codeArr[1] + '/heyzo_hd_' + codeArr[1] + '_sample.mp4'
            }
            let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + codeArr[1] + '/1' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + codeArr[1] + '/1' + videoSeries + codeArr[1] + '_mhb_w.mp4';
            let videoUrl5 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1324' + videoSeries + codeArr[1] + '/h_1324' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl6 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1472' + videoSeries + videoNo + '/h_1472' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl7 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_113' + videoSeries + codeArr[1] + '/h_113' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/1/118/118' + videoSeries + videoNo + '/118' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl9 = '//cc3001.dmm.co.jp/litevideo/freepv/1/118/118' + videoSeries + codeArr[1] + '/118' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl10 = '//cc3001.dmm.co.jp/litevideo/freepv/5/53' + videoSeries.substr(0, 1) + '/53' + videoSeries + codeArr[1] + '/53' + videoSeries + codeArr[1] + '_sm_s.mp4';
            let videoUrl11 = '//cc3001.dmm.co.jp/litevideo/freepv/5/53' + videoSeries.substr(0, 1) + '/53' + videoSeries + codeArr[1] + '/53' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl12 = '//cc3001.dmm.co.jp/litevideo/freepv/1/13' + videoSeries.substr(0, 1) + '/13' + videoSeries + codeArr[1] + '/13' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl13 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_6/h_687' + videoSeries + codeArr[1] + '/h_687' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl14 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1594' + videoSeries + videoNo + '/h_1594' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl15 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl16 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1100' + videoSeries + codeArr[1] + '/h_1100' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl17 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_2/h_283' + videoSeries + codeArr[1] + '/h_283' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl18 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_4/h_491' + videoSeries + codeArr[1] + '/h_491' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl19 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1616' + videoSeries + videoNo + '/h_1616' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl20 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1386' + videoSeries + videoNo + '/h_1386' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl21 = '//cc3001.dmm.co.jp/litevideo/freepv/5/55' + videoSeries.substr(0, 1) + '/55' + videoSeries + codeArr[1] + '/55' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl22 = '//cc3001.dmm.co.jp/litevideo/freepv/1/12' + videoSeries[0] + '/12' + videoSeries + codeArr[1] + '/12' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl26 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1560' + videoSeries + videoNo + '/h_1560' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl27 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1160' + videoSeries + codeArr[1] + '/h_1160' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl28 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_2/h_254' + videoSeries + codeArr[1] + '/h_254' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl29 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_2/h_227' + videoSeries + videoNo + '/h_227' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl30 = '//cc3001.dmm.co.jp/litevideo/freepv/1/125/125' + videoSeries + codeArr[1] + '/125' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl31 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_3/h_346' + videoSeries + codeArr[1] + '/h_346' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl32 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1495' + videoSeries + codeArr[1] + '/h_1495' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl33 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_068' + videoSeries + codeArr[1] + '/h_068' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl34 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_086' + videoSeries + videoTwo + '/h_086' + videoSeries + videoTwo + '_dmb_w.mp4';
            let videoUrl35 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_086' + videoSeries + videoTwo + '/h_086' + videoSeries + videoTwo + '_sm_w.mp4';
            let videoUrl36 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_086' + videoSeries + codeArr[1] + '/h_086' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl37 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_0/h_086' + videoSeries + videoTwo + '/h_086' + videoSeries + videoTwo + '_dm_w.mp4';
            let videoUrl38 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1160' + videoSeries + videoTwo + '/h_1160' + videoSeries + videoTwo + '_dm_w.mp4';
            let videoUrl39 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_6/h_635' + videoSeries + codeArr[1] + '/h_635' + videoSeries + codeArr[1] + '_dmb_w.mp4';
            let videoUrl40 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_6/h_635' + videoSeries + codeArr[1] + '/h_635' + videoSeries + codeArr[1] + '_sm_w.mp4';
            let videoUrl41 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_127' + videoSeries + videoNo + '/h_127' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl42 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_127' + videoSeries + codeArr[1] + '/h_127' + videoSeries + codeArr[1] + '_sm_s.mp4';
            let videoUrl43 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_4/h_480' + videoSeries + videoNo + '/h_480' + videoSeries + videoNo + '_dm_w.mp4';  //AAJB-143
            let videoUrl44 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_170' + videoSeries + codeArr[1] + '/h_170' + videoSeries + codeArr[1] + '_dmb_w.mp4';  //AAK-048
            let videoUrl45 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_2/h_237' + videoSeries + codeArr[1] + '/h_237' + videoSeries + codeArr[1] + '_dmb_w.mp4';   //FIND-002
            let videoUrl46 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1615' + videoSeries + videoNo + '/h_1615' + videoSeries + videoNo + '_mhb_w.mp4';
            let videoUrl47 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1350' + videoSeries + videoNo + '/h_1350' + videoSeries + videoNo + '_dm_w.mp4'; // VOV-004
            let videoUrl48 = '//cc3001.dmm.co.jp/litevideo/freepv/1/118/118' + videoSeries + codeArr[1] + '/118' + videoSeries + codeArr[1] + '_dm_w.mp4'; // CRS-058
					  let videoUrl49 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1133' + videoSeries + codeArr[1] + '/h_1133' + videoSeries + codeArr[1] + '_dmb_w.mp4'; // knwf005
            let videoUrl50 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dm_s.mp4';
            let videoUrl51 = '//cc3001.dmm.co.jp/litevideo/freepv/1/172/172' + videoSeries + videoNo + '/172' + videoSeries + videoNo + '_mhb_w.mp4'; // https://cc3001.dmm.co.jp/litevideo/freepv/1/172/172xrw00338/172xrw00338_dmb_w.mp4
            let videoUrl52 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_mhb_w.mp4'; // https://cc3001.dmm.co.jp/litevideo/freepv/8/84x/84xrw448/84xrw448_mhb_w.mp
            let videoUrl53 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_dmb_w.mp4'; // https://cc3001.dmm.co.jp/litevideo/freepv/8/84x/84xrw008/84xrw008_dmb_w.mp4
            let videoUrl54 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_dm_w.mp4';
            let videoUrl55 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_sm_w.mp4';
					  let videoUrl95 = 'http://smovie.1pondo.tv/sample/movies/' + code + '/1080p.mp4';  //一本道 1pondo
            let videoUrl96 = 'https://www.prestige-av.com/sample_movie/TKT' + code + '.mp4';
            let videoUrl97 = 'https://sample.mgstage.com/sample/fullsail/' + videoSeries + '/' + codeArr[1] + '/' + code + '.mp4';  //ABC-056
            let videoUrl98 = 'https://my.cdn.tokyo-hot.com/media/samples/' + code + '.mp4';	  //东京热 tokyo-hot AB-001
            let videoUrl99 = 'https://smovie.caribbeancom.com/sample/movies/' + code + '/1080p.mp4';  //加勒比 carib
            let videoUrl100 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_w.mp4';
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          <source src="' + videoUrl3 + '" type="video/mp4" />\
                          <source src="' + videoUrl4 + '" type="video/mp4" />\
                          <source src="' + videoUrl5 + '" type="video/mp4" />\
                          <source src="' + videoUrl6 + '" type="video/mp4" />\
                          <source src="' + videoUrl7 + '" type="video/mp4" />\
                          <source src="' + videoUrl8 + '" type="video/mp4" />\
                          <source src="' + videoUrl9 + '" type="video/mp4" />\
                          <source src="' + videoUrl10 + '" type="video/mp4" />\
                          <source src="' + videoUrl11 + '" type="video/mp4" />\
                          <source src="' + videoUrl12 + '" type="video/mp4" />\
                          <source src="' + videoUrl13 + '" type="video/mp4" />\
                          <source src="' + videoUrl14 + '" type="video/mp4" />\
                          <source src="' + videoUrl15 + '" type="video/mp4" />\
                          <source src="' + videoUrl16 + '" type="video/mp4" />\
                          <source src="' + videoUrl17 + '" type="video/mp4" />\
                          <source src="' + videoUrl18 + '" type="video/mp4" />\
                          <source src="' + videoUrl19 + '" type="video/mp4" />\
                          <source src="' + videoUrl20 + '" type="video/mp4" />\
                          <source src="' + videoUrl21 + '" type="video/mp4" />\
                          <source src="' + videoUrl22 + '" type="video/mp4" />\
                          <source src="' + videoUrl26 + '" type="video/mp4" />\
                          <source src="' + videoUrl27 + '" type="video/mp4" />\
                          <source src="' + videoUrl28 + '" type="video/mp4" />\
                          <source src="' + videoUrl29 + '" type="video/mp4" />\
                          <source src="' + videoUrl30 + '" type="video/mp4" />\
                          <source src="' + videoUrl31 + '" type="video/mp4" />\
                          <source src="' + videoUrl32 + '" type="video/mp4" />\
                          <source src="' + videoUrl33 + '" type="video/mp4" />\
                          <source src="' + videoUrl34 + '" type="video/mp4" />\
                          <source src="' + videoUrl35 + '" type="video/mp4" />\
                          <source src="' + videoUrl36 + '" type="video/mp4" />\
                          <source src="' + videoUrl37 + '" type="video/mp4" />\
                          <source src="' + videoUrl38 + '" type="video/mp4" />\
                          <source src="' + videoUrl39 + '" type="video/mp4" />\
                          <source src="' + videoUrl40 + '" type="video/mp4" />\
                          <source src="' + videoUrl41 + '" type="video/mp4" />\
                          <source src="' + videoUrl42 + '" type="video/mp4" />\
                          <source src="' + videoUrl43 + '" type="video/mp4" />\
                          <source src="' + videoUrl44 + '" type="video/mp4" />\
                          <source src="' + videoUrl45 + '" type="video/mp4" />\
                          <source src="' + videoUrl46 + '" type="video/mp4" />\
                          <source src="' + videoUrl47 + '" type="video/mp4" />\
                          <source src="' + videoUrl48 + '" type="video/mp4" />\
                          <source src="' + videoUrl49 + '" type="video/mp4" />\
                          <source src="' + videoUrl50 + '" type="video/mp4" />\
                          <source src="' + videoUrl51 + '" type="video/mp4" />\
                          <source src="' + videoUrl52 + '" type="video/mp4" />\
                          <source src="' + videoUrl53 + '" type="video/mp4" />\
                          <source src="' + videoUrl54 + '" type="video/mp4" />\
                          <source src="' + videoUrl55 + '" type="video/mp4" />\
                          <source src="' + videoUrl95 + '" type="video/mp4" />\
                          <source src="' + videoUrl96 + '" type="video/mp4" />\
                          <source src="' + videoUrl97 + '" type="video/mp4" />\
                          <source src="' + videoUrl98 + '" type="video/mp4" />\
                          <source src="' + videoUrl99 + '" type="video/mp4" />\
                          <source src="' + videoUrl100 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(obj).before(video)
        }


        addVideoN(code, objN) {
            let videoUrl = 'https://my.cdn.tokyo-hot.com/media/samples/' + code + '.mp4';
            if (null != location.href.match(/crazyasia/)) {
                videoUrl = 'https://my.cdn.tokyo-hot.com/media/samples/' + code + '.mp4'
            }  //东京热 tokyo-hot AB-001
            if (null != code.match(/RED048/i)) {
                videoUrl = 'https://my.cdn.tokyo-hot.com/media/samples/5923.mp4'
            }
            if (null != code.match(/RED065/i)) {
                videoUrl = 'https://my.cdn.tokyo-hot.com/media/samples/5924.mp4'
            }
            let videoUrl2 = 'https://ppvclips02.aventertainments.com/00m3u8/' + code + '/' + code + '.mp4';
					//https://ppvclips02.aventertainments.com/00m3u8/RED170/RED170.m3u8
					//https://ppvclips02.aventertainments.com/00m3u8/RHJ-210/RHJ-210.m3u8
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objN).before(video)
        }
        addVideoY(code, objY) {
            let videoUrl = 'http://smovie.1pondo.tv/sample/movies/' + code + '/1080p.mp4';
            let videoUrl2 = 'https://smovie.1pondo.tv/sample/movies/' + code + '/480p.mp4';
            let videoUrl3 = 'https://smovie.1pondo.tv/sample/movies/' + code + '/520p.mp4';
            let videoUrl4 = 'https://smovie.1pondo.tv/sample/movies/' + code + '/720p.mp4';
            if (null != location.href.match(/crazyasia/)) {
                videoUrl = 'http://smovie.1pondo.tv/sample/movies/' + code + '/1080p.mp4'
            }  //一本道
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          <source src="' + videoUrl3 + '" type="video/mp4" />\
                          <source src="' + videoUrl4 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objY).before(video)
        }
        addVideoC(code, objC) {
            let videoUrl = 'https://smovie.caribbeancom.com/sample/movies/' + code + '/1080p.mp4';
            let videoUrl2 = 'https://smovie.caribbeancom.com/sample/movies/' + code + '/720p.mp4';
            if (null != location.href.match(/crazyasia/)) {
                videoUrl = 'https://smovie.caribbeancom.com/sample/movies/' + code + '/1080p.mp4'
            }  //加勒比
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objC).before(video)
        }
        addVideoH(code, objH) {
            let videoUrl = 'https://smovie.10musume.com/sample/movies/' + code + '/1080p.mp4';
            if (null != location.href.match(/crazyasia/)) {
                videoUrl = 'https://smovie.10musume.com/sample/movies/' + code + '/1080p.mp4'
            }  //天然むすめ https://smovie.10musume.com/sample/movies/052319_01/1080p.mp4
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objH).before(video)
        }

        addVideoPM(code, objPM) {
            let videoUrl = 'https://fms.pacopacomama.com/hls/sample/pacopacomama.com/' + code + '/1080p.mp4';
            let videoUrl2 = 'https://fms.pacopacomama.com/hls/sample/pacopacomama.com/' + code + '/720p.mp4';
            //https://fms.pacopacomama.com/hls/sample/pacopacomama.com/103115_520/1080p.mp4
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objPM).before(video)
        }

        addVideoVR(code, objVR) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
            let videoUrl = '//cc3001.dmm.co.jp/vrsample/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + 'vrlite.mp4';
            let videoUrl2 = '//cc3001.dmm.co.jp/vrsample/1/13' + videoSeries[0] + '/13' + videoSeries + videoNo + '/13' + videoSeries + videoNo + 'vrlite.mp4';
            let videoUrl3 = '//cc3001.dmm.co.jp/vrsample/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + 'vrlite.mp4';
            let videoUrl4 = '//cc3001.dmm.co.jp/vrsample/2/24' + videoSeries[0] + '/24' + videoSeries + videoNo + '/24' + videoSeries + videoNo + 'vrlite.mp4';
            let videoUrl5 = '//cc3001.dmm.co.jp/vrsample/h/h_9/h_955' + videoSeries + videoNo + '/h_955' + videoSeries + videoNo + 'vrlite.mp4';
            let videoUrl6 = '//cc3001.dmm.co.jp/vrsample/h/h_1/h_1248' + videoSeries + videoNo + '/h_1248' + videoSeries + videoNo + 'vrlite.mp4';
            let videoUrl7 = '//cc3001.dmm.co.jp/vrsample/h/h_1/h_1321' + videoSeries + videoNo + '/h_1321' + videoSeries + videoNo + 'vrlite.mp4';
            let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1245' + videoSeries + videoNo + '/h_1245' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl9 = '//cc3001.dmm.co.jp/litevideo/freepv/1/13' + videoSeries[0] + '/13' + videoSeries + videoNo + '/13' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl10 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dmb_w.mp4';
            let videoUrl11 = '//cc3001.dmm.co.jp/litevideo/freepv/2/24' + videoSeries[0] + '/24' + videoSeries + videoNo + '/24' + videoSeries + videoNo + '_dm_w.mp4';
					  let videoUrl12 = '//cc3001.dmm.co.jp/vrsample/5/55' + videoSeries[0] + '/55' + videoSeries + videoNo + '/55' + videoSeries + videoNo + 'vrlite.mp4';
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          <source src="' + videoUrl3 + '" type="video/mp4" />\
                          <source src="' + videoUrl4 + '" type="video/mp4" />\
                          <source src="' + videoUrl5 + '" type="video/mp4" />\
                          <source src="' + videoUrl6 + '" type="video/mp4" />\
                          <source src="' + videoUrl7 + '" type="video/mp4" />\
                          <source src="' + videoUrl8 + '" type="video/mp4" />\
                          <source src="' + videoUrl9 + '" type="video/mp4" />\
                          <source src="' + videoUrl10 + '" type="video/mp4" />\
                          <source src="' + videoUrl11 + '" type="video/mp4" />\
                          <source src="' + videoUrl12 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objVR).before(video)
        }
//适配dandan-系列 全5位00 DMM分辨率 mhb_w.mp4=3000 kbps\dmb_w.mp4=1500 kbps\dm_w.mp4=1000 kbps\sm_w.mp4=300 kbps
        addVideodandan(code, objdandan) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_mhb_w.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dm_w.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_sm_w.mp4';
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          <source src="' + videoUrl3 + '" type="video/mp4" />\
                          <source src="' + videoUrl4 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objdandan).before(video)
        }
// MDTM-系列
        addVideoMDTM(code, objMDTM) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl5 = '//cc3001.dmm.co.jp/litevideo/freepv/8/84' + videoSeries.substr(0, 1) + '/84' + videoSeries + codeArr[1] + '/84' + videoSeries + codeArr[1] + '_sm_w.mp4';
let videoUrl6 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl7 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_sm_w.mp4';
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          <source src="' + videoUrl3 + '" type="video/mp4" />\
                          <source src="' + videoUrl4 + '" type="video/mp4" />\
                          <source src="' + videoUrl5 + '" type="video/mp4" />\
                          <source src="' + videoUrl6 + '" type="video/mp4" />\
                          <source src="' + videoUrl7 + '" type="video/mp4" />\
                          <source src="' + videoUrl8 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objMDTM).before(video)
        }
//db无码legsjapan系列 Digital J 制作商  因此系列地址无规则,用的编号后随机字符,所以把所有数据弄下来啦
        addVideolegsjapan(code, objlegsjapan) {
let videoUrl = 'https://cdn.legsjapan.com/samples/003f7386/sample.mp4'; //如果脚本数据里没有则默认显示003的预览
if (code.indexOf('003') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/003f7386/sample.mp4'}
if (code.indexOf('005') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/005svnvl/sample.mp4'}
if (code.indexOf('007') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/007d8q8a/sample.mp4'}
if (code.indexOf('009') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/009l3sw9/sample.mp4'}
if (code.indexOf('011') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/011awxdf/sample.mp4'}
if (code.indexOf('013') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/013h4raz/sample.mp4'}
if (code.indexOf('015') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/015eu2rm/sample.mp4'}
if (code.indexOf('0188') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0188kl4g/sample.mp4'}
if (code.indexOf('020') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/020z6z0t/sample.mp4'}
if (code.indexOf('022') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/022b4rc3/sample.mp4'}
if (code.indexOf('024') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/024ewta0/sample.mp4'}
if (code.indexOf('026') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/026wbfmu/sample.mp4'}
if (code.indexOf('02889') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/02889gzs/sample.mp4'}
if (code.indexOf('030644') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/030644s6/sample.mp4'}
if (code.indexOf('033') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/033pgjlv/sample.mp4'}
if (code.indexOf('035') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/035ctn5t/sample.mp4'}
if (code.indexOf('037') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/037pryla/sample.mp4'}
if (code.indexOf('039') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/039vk0te/sample.mp4'}
if (code.indexOf('041') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/041s8ktd/sample.mp4'}
if (code.indexOf('043') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/043si18i/sample.mp4'}
if (code.indexOf('045') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/045ceuwi/sample.mp4'}
if (code.indexOf('0489') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0489ytob/sample.mp4'}
if (code.indexOf('050') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/050i9s31/sample.mp4'}
if (code.indexOf('0523') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0523dvo4/sample.mp4'}
if (code.indexOf('0548') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0548r56u/sample.mp4'}
if (code.indexOf('056') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/056cq8ju/sample.mp4'}
if (code.indexOf('058') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/058cwrag/sample.mp4'}
if (code.indexOf('060') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/060wfd8z/sample.mp4'}
if (code.indexOf('063') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/063c7nrq/sample.mp4'}
if (code.indexOf('065') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/065bb7br/sample.mp4'}
if (code.indexOf('067261') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/067261c0/sample.mp4'}
if (code.indexOf('069') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/069s6cu8/sample.mp4'}
if (code.indexOf('071') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/071vjvwe/sample.mp4'}
if (code.indexOf('07382') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/07382tba/sample.mp4'}
if (code.indexOf('075') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/075b1d1r/sample.mp4'}
if (code.indexOf('0771') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0771lshk/sample.mp4'}
if (code.indexOf('080') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/080oitor/sample.mp4'}
if (code.indexOf('083') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/083w5mwq/sample.mp4'}
if (code.indexOf('086') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/086asld5/sample.mp4'}
if (code.indexOf('08800') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/08800vm8/sample.mp4'}
if (code.indexOf('090') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/090hoe8y/sample.mp4'}
if (code.indexOf('092') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/092hklz1/sample.mp4'}
if (code.indexOf('094') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/094jpmf8/sample.mp4'}
if (code.indexOf('097') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/097cwyb9/sample.mp4'}
if (code.indexOf('0995') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/0995d3lw/sample.mp4'}
if (code.indexOf('1001') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1001rbxe/sample.mp4'}
if (code.indexOf('1003') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1003dcoh/sample.mp4'}
if (code.indexOf('1005') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1005bxjw/sample.mp4'}
if (code.indexOf('1007') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1007ucld/sample.mp4'}
if (code.indexOf('1009') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1009powz/sample.mp4'}
if (code.indexOf('1011') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1011smvy/sample.mp4'}
if (code.indexOf('1013') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1013qxaa/sample.mp4'}
if (code.indexOf('1015') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1015mgmg/sample.mp4'}
if (code.indexOf('1017') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1017xqfs/sample.mp4'}
if (code.indexOf('1019') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1019bkmo/sample.mp4'}
if (code.indexOf('1021') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1021nxhn/sample.mp4'}
if (code.indexOf('1023') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1023clhj/sample.mp4'}
if (code.indexOf('1025') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1025sqhz/sample.mp4'}
if (code.indexOf('1027') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1027agfm/sample.mp4'}
if (code.indexOf('1029') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1029wwlb/sample.mp4'}
if (code.indexOf('1031') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1031bvzp/sample.mp4'}
if (code.indexOf('1033') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1033tzwi/sample.mp4'}
if (code.indexOf('1035') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1035yqdr/sample.mp4'}
if (code.indexOf('1037') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1037zhxh/sample.mp4'}
if (code.indexOf('1039') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1039lmtq/sample.mp4'}
if (code.indexOf('103') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/103rgal2/sample.mp4'}
if (code.indexOf('1041') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1041yrtf/sample.mp4'}
if (code.indexOf('1043') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1043ajlw/sample.mp4'}
if (code.indexOf('1045') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1045xcwt/sample.mp4'}
if (code.indexOf('1047') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1047eqcn/sample.mp4'}
if (code.indexOf('1049') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1049lose/sample.mp4'}
if (code.indexOf('1051') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1051cyin/sample.mp4'}
if (code.indexOf('1053') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1053ykvj/sample.mp4'}
if (code.indexOf('1055') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1055pwvx/sample.mp4'}
if (code.indexOf('1057') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1057eqog/sample.mp4'}
if (code.indexOf('1059') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1059gciz/sample.mp4'}
if (code.indexOf('1061') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1061kshe/sample.mp4'}
if (code.indexOf('1063') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1063jakn/sample.mp4'}
if (code.indexOf('1065') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1065vrcn/sample.mp4'}
if (code.indexOf('1067') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1067yzue/sample.mp4'}
if (code.indexOf('1069') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1069ecrj/sample.mp4'}
if (code.indexOf('1071') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1071xsel/sample.mp4'}
if (code.indexOf('1073') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1073fglx/sample.mp4'}
if (code.indexOf('1075') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1075qyef/sample.mp4'}
if (code.indexOf('1077') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1077oaen/sample.mp4'}
if (code.indexOf('1078') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1078ou76/sample.mp4'}
if (code.indexOf('1079') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1079epnh/sample.mp4'}
if (code.indexOf('1081') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1081nrti/sample.mp4'}
if (code.indexOf('1083') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1083bdrk/sample.mp4'}
if (code.indexOf('1085') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1085duga/sample.mp4'}
if (code.indexOf('1087') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1087hnff/sample.mp4'}
if (code.indexOf('1089') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1089wajn/sample.mp4'}
if (code.indexOf('1091') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1091lqar/sample.mp4'}
if (code.indexOf('1093') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1093fecn/sample.mp4'}
if (code.indexOf('1095') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1095hgmz/sample.mp4'}
if (code.indexOf('1097') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1097gncl/sample.mp4'}
if (code.indexOf('1099') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1099wraa/sample.mp4'}
if (code.indexOf('109') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/109pb42v/sample.mp4'}
if (code.indexOf('1101') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1101jrix/sample.mp4'}
if (code.indexOf('1103') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1103lzlo/sample.mp4'}
if (code.indexOf('1105') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1105rhyr/sample.mp4'}
if (code.indexOf('1107') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1107wpxl/sample.mp4'}
if (code.indexOf('1109') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1109hefw/sample.mp4'}
if (code.indexOf('1111') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1111fosi/sample.mp4'}
if (code.indexOf('1113') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1113ufqk/sample.mp4'}
if (code.indexOf('1115') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1115zhdh/sample.mp4'}
if (code.indexOf('1117') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1117eaal/sample.mp4'}
if (code.indexOf('1119') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1119ilnk/sample.mp4'}
if (code.indexOf('1121') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1121zpex/sample.mp4'}
if (code.indexOf('1123') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1123wpci/sample.mp4'}
if (code.indexOf('1125') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1125azfh/sample.mp4'}
if (code.indexOf('1127') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1127leqg/sample.mp4'}
if (code.indexOf('1129') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1129jxza/sample.mp4'}
if (code.indexOf('112') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/112whon5/sample.mp4'}
if (code.indexOf('1131') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1131sceo/sample.mp4'}
if (code.indexOf('1133') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1133zokt/sample.mp4'}
if (code.indexOf('1135') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1135aecx/sample.mp4'}
if (code.indexOf('1137') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1137shaw/sample.mp4'}
if (code.indexOf('1139') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1139qopr/sample.mp4'}
if (code.indexOf('1141') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1141zdkr/sample.mp4'}
if (code.indexOf('1143') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1143dfen/sample.mp4'}
if (code.indexOf('1145') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1145mdar/sample.mp4'}
if (code.indexOf('1147') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1147wjhz/sample.mp4'}
if (code.indexOf('1149') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1149bpso/sample.mp4'}
if (code.indexOf('115') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/115xnok3/sample.mp4'}
if (code.indexOf('117') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/117sb3di/sample.mp4'}
if (code.indexOf('119') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/119v29gl/sample.mp4'}
if (code.indexOf('121') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/121rt53d/sample.mp4'}
if (code.indexOf('123') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/123zqja6/sample.mp4'}
if (code.indexOf('125') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/125h4gu8/sample.mp4'}
if (code.indexOf('127') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/127j0fa9/sample.mp4'}
if (code.indexOf('1299') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1299svs7/sample.mp4'}
if (code.indexOf('131') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/131gkbj8/sample.mp4'}
if (code.indexOf('133') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/133fz2ma/sample.mp4'}
if (code.indexOf('1359') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1359kmom/sample.mp4'}
if (code.indexOf('138') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/138rrbib/sample.mp4'}
if (code.indexOf('140') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/140uy0m2/sample.mp4'}
if (code.indexOf('142') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/142lcnrz/sample.mp4'}
if (code.indexOf('144') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/144ph14i/sample.mp4'}
if (code.indexOf('146') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/146oz6dl/sample.mp4'}
if (code.indexOf('14859') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/14859gs0/sample.mp4'}
if (code.indexOf('1506') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1506y0f1/sample.mp4'}
if (code.indexOf('153') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/153gom6y/sample.mp4'}
if (code.indexOf('155') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/155zhuhs/sample.mp4'}
if (code.indexOf('157') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/157hpc80/sample.mp4'}
if (code.indexOf('159') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/159a9v20/sample.mp4'}
if (code.indexOf('161') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/161m6flm/sample.mp4'}
if (code.indexOf('163') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/163dw9g8/sample.mp4'}
if (code.indexOf('165') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/165ci1xf/sample.mp4'}
if (code.indexOf('168') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/168jvxs4/sample.mp4'}
if (code.indexOf('171') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/171z1nk5/sample.mp4'}
if (code.indexOf('174') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/174fl8o2/sample.mp4'}
if (code.indexOf('176') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/176bs2rm/sample.mp4'}
if (code.indexOf('178') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/178b8ah5/sample.mp4'}
if (code.indexOf('180') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/180bxdw0/sample.mp4'}
if (code.indexOf('183') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/183wys91/sample.mp4'}
if (code.indexOf('185') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/185w55xu/sample.mp4'}
if (code.indexOf('187') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/187zp2bc/sample.mp4'}
if (code.indexOf('189') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/189y9zxx/sample.mp4'}
if (code.indexOf('1910') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1910htdy/sample.mp4'}
if (code.indexOf('1934') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/19340vrn/sample.mp4'}
if (code.indexOf('195') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/195gtkjd/sample.mp4'}
if (code.indexOf('1988') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/1988r12d/sample.mp4'}
if (code.indexOf('2008') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2008gbb4/sample.mp4'}
if (code.indexOf('2021') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2021rw39/sample.mp4'}
if (code.indexOf('204') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/204e25hr/sample.mp4'}
if (code.indexOf('206949') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/206949ci/sample.mp4'}
if (code.indexOf('208') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/208dct6n/sample.mp4'}
if (code.indexOf('210') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/210xraj0/sample.mp4'}
if (code.indexOf('213') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/213c7gcs/sample.mp4'}
if (code.indexOf('215') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/215aaqxm/sample.mp4'}
if (code.indexOf('217') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/217pfiuy/sample.mp4'}
if (code.indexOf('2196') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2196qmlc/sample.mp4'}
if (code.indexOf('22194') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/22194ags/sample.mp4'}
if (code.indexOf('223') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/223amh31/sample.mp4'}
if (code.indexOf('225') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/225hlhka/sample.mp4'}
if (code.indexOf('228') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/228ar6i6/sample.mp4'}
if (code.indexOf('231') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/231g25q6/sample.mp4'}
if (code.indexOf('23424') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/23424hif/sample.mp4'}
if (code.indexOf('236') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/236kawal/sample.mp4'}
if (code.indexOf('2386550') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2386550k/sample.mp4'}
if (code.indexOf('240') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/240dm6z1/sample.mp4'}
if (code.indexOf('242') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/242cfij0/sample.mp4'}
if (code.indexOf('244') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/244gwhgt/sample.mp4'}
if (code.indexOf('246') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/246af2ae/sample.mp4'}
if (code.indexOf('248') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/248n5tha/sample.mp4'}
if (code.indexOf('250953') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/250953fr/sample.mp4'}
if (code.indexOf('252') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/252e77ix/sample.mp4'}
if (code.indexOf('254') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/254bsn3p/sample.mp4'}
if (code.indexOf('257') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/257e1cmf/sample.mp4'}
if (code.indexOf('2598') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2598yjxw/sample.mp4'}
if (code.indexOf('261') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/261urdyb/sample.mp4'}
if (code.indexOf('263') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/263nn6hf/sample.mp4'}
if (code.indexOf('265') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/265jl54g/sample.mp4'}
if (code.indexOf('267') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/267ndn3i/sample.mp4'}
if (code.indexOf('269') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/269aum0p/sample.mp4'}
if (code.indexOf('272') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/272bqdgj/sample.mp4'}
if (code.indexOf('275') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/275mt1cl/sample.mp4'}
if (code.indexOf('277') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/277ynqst/sample.mp4'}
if (code.indexOf('27988') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/27988tb9/sample.mp4'}
if (code.indexOf('281') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/281x7gbu/sample.mp4'}
if (code.indexOf('2836') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2836ubyw/sample.mp4'}
if (code.indexOf('286') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/286qohis/sample.mp4'}
if (code.indexOf('288') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/288l6wet/sample.mp4'}
if (code.indexOf('290') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/290toaza/sample.mp4'}
if (code.indexOf('292') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/292pdsdn/sample.mp4'}
if (code.indexOf('2946') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2946ty6w/sample.mp4'}
if (code.indexOf('296') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/296wmbov/sample.mp4'}
if (code.indexOf('2985') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/2985vvtf/sample.mp4'}
if (code.indexOf('3010') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3010w6fx/sample.mp4'}
if (code.indexOf('303') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/303trwpl/sample.mp4'}
if (code.indexOf('3054') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3054m25z/sample.mp4'}
if (code.indexOf('3077') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3077w9sl/sample.mp4'}
if (code.indexOf('309') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/309eekdd/sample.mp4'}
if (code.indexOf('311') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/311lzpiz/sample.mp4'}
if (code.indexOf('313') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/313v5162/sample.mp4'}
if (code.indexOf('3158') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3158tei7/sample.mp4'}
if (code.indexOf('317') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/317zxbur/sample.mp4'}
if (code.indexOf('3190') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3190xa1l/sample.mp4'}
if (code.indexOf('321') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/321jf036/sample.mp4'}
if (code.indexOf('323') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/323phxm2/sample.mp4'}
if (code.indexOf('3252') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3252y6t2/sample.mp4'}
if (code.indexOf('327') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/327o2hls/sample.mp4'}
if (code.indexOf('3307') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3307l2cg/sample.mp4'}
if (code.indexOf('3324') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3324ltot/sample.mp4'}
if (code.indexOf('33471') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/33471f13/sample.mp4'}
if (code.indexOf('336') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/336yxldg/sample.mp4'}
if (code.indexOf('338') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/338npj0g/sample.mp4'}
if (code.indexOf('3408') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3408s4ig/sample.mp4'}
if (code.indexOf('342') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/342oxvb1/sample.mp4'}
if (code.indexOf('344') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/344ne3y4/sample.mp4'}
if (code.indexOf('3469129') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3469129k/sample.mp4'}
if (code.indexOf('348') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/348fnp0d/sample.mp4'}
if (code.indexOf('350') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/350cxxyc/sample.mp4'}
if (code.indexOf('352') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/352raznw/sample.mp4'}
if (code.indexOf('354') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/354js8qo/sample.mp4'}
if (code.indexOf('356') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/356c15be/sample.mp4'}
if (code.indexOf('359') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/359d8nx2/sample.mp4'}
if (code.indexOf('361') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/361ux6q6/sample.mp4'}
if (code.indexOf('3631') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3631eury/sample.mp4'}
if (code.indexOf('365') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/365mjhhp/sample.mp4'}
if (code.indexOf('367') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/367hkfbd/sample.mp4'}
if (code.indexOf('369') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/369owojh/sample.mp4'}
if (code.indexOf('372') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/372nbvr7/sample.mp4'}
if (code.indexOf('375') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/375ldjdk/sample.mp4'}
if (code.indexOf('377') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/377qees6/sample.mp4'}
if (code.indexOf('379') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/379uxyp5/sample.mp4'}
if (code.indexOf('38119') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/38119ix8/sample.mp4'}
if (code.indexOf('383') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/383ywz83/sample.mp4'}
if (code.indexOf('385') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/385s5t51/sample.mp4'}
if (code.indexOf('3875') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3875ur0d/sample.mp4'}
if (code.indexOf('390') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/390xgkya/sample.mp4'}
if (code.indexOf('392') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/392jxl8t/sample.mp4'}
if (code.indexOf('3942') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/3942dzwx/sample.mp4'}
if (code.indexOf('396') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/396l670k/sample.mp4'}
if (code.indexOf('398') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/398vcy3h/sample.mp4'}
if (code.indexOf('400') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/400kjv70/sample.mp4'}
if (code.indexOf('403') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/403c2qu7/sample.mp4'}
if (code.indexOf('405') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/405c6gyd/sample.mp4'}
if (code.indexOf('407') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/407cfe7p/sample.mp4'}
if (code.indexOf('409') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/409zm7hi/sample.mp4'}
if (code.indexOf('4117690') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4117690q/sample.mp4'}
if (code.indexOf('413') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/413nzeqq/sample.mp4'}
if (code.indexOf('416') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/416xgkkc/sample.mp4'}
if (code.indexOf('418') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/418bn64j/sample.mp4'}
if (code.indexOf('420') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/420o61bz/sample.mp4'}
if (code.indexOf('422') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/422kqu7d/sample.mp4'}
if (code.indexOf('4244') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4244giee/sample.mp4'}
if (code.indexOf('426') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/426qj96z/sample.mp4'}
if (code.indexOf('429') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/429k1eev/sample.mp4'}
if (code.indexOf('43188') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/43188voc/sample.mp4'}
if (code.indexOf('433611') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/433611ab/sample.mp4'}
if (code.indexOf('4354') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4354dyit/sample.mp4'}
if (code.indexOf('4375') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4375ae6s/sample.mp4'}
if (code.indexOf('439') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/439w1tsb/sample.mp4'}
if (code.indexOf('441') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/441jlbl4/sample.mp4'}
if (code.indexOf('443') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/443ek9th/sample.mp4'}
if (code.indexOf('445') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/445qg8xp/sample.mp4'}
if (code.indexOf('447') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/447k60s5/sample.mp4'}
if (code.indexOf('449') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/449zjkxc/sample.mp4'}
if (code.indexOf('4517') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4517zyl3/sample.mp4'}
if (code.indexOf('453') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/453j4tp3/sample.mp4'}
if (code.indexOf('455') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/455uoobe/sample.mp4'}
if (code.indexOf('457') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/457xhh48/sample.mp4'}
if (code.indexOf('460') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/460uu2p6/sample.mp4'}
if (code.indexOf('462') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/462o2hw8/sample.mp4'}
if (code.indexOf('4641') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4641teow/sample.mp4'}
if (code.indexOf('46664') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/46664w8w/sample.mp4'}
if (code.indexOf('4684') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4684k93j/sample.mp4'}
if (code.indexOf('470') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/470kf201/sample.mp4'}
if (code.indexOf('472') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/472dmpyl/sample.mp4'}
if (code.indexOf('4753') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4753ulrd/sample.mp4'}
if (code.indexOf('477') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/477kfwza/sample.mp4'}
if (code.indexOf('479') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/479b8bkc/sample.mp4'}
if (code.indexOf('481') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/481hwwjd/sample.mp4'}
if (code.indexOf('483') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/483bjz33/sample.mp4'}
if (code.indexOf('485') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/485e1ubj/sample.mp4'}
if (code.indexOf('4886') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4886d610/sample.mp4'}
if (code.indexOf('49006') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/49006pt8/sample.mp4'}
if (code.indexOf('4929') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/4929djj3/sample.mp4'}
if (code.indexOf('494') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/494kuft9/sample.mp4'}
if (code.indexOf('49638') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/49638ia3/sample.mp4'}
if (code.indexOf('498') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/498fck3c/sample.mp4'}
if (code.indexOf('500') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/500cacc3/sample.mp4'}
if (code.indexOf('503') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/503ix6xt/sample.mp4'}
if (code.indexOf('505') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/505u2mpm/sample.mp4'}
if (code.indexOf('507') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/507dmyyo/sample.mp4'}
if (code.indexOf('509') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/509m7t8t/sample.mp4'}
if (code.indexOf('51149') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/51149sex/sample.mp4'}
if (code.indexOf('513') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/513rih4m/sample.mp4'}
if (code.indexOf('515') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/515w1cye/sample.mp4'}
if (code.indexOf('517') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/517pkcu6/sample.mp4'}
if (code.indexOf('520') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/520amm4b/sample.mp4'}
if (code.indexOf('5225') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5225h84y/sample.mp4'}
if (code.indexOf('524') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/524qrxtr/sample.mp4'}
if (code.indexOf('526') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/526l1xi8/sample.mp4'}
if (code.indexOf('528') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/528zilrm/sample.mp4'}
if (code.indexOf('5308') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5308v7jc/sample.mp4'}
if (code.indexOf('5327') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5327oq0b/sample.mp4'}
if (code.indexOf('534') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/534usryf/sample.mp4'}
if (code.indexOf('536') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/536kpzxz/sample.mp4'}
if (code.indexOf('538') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/538gp18p/sample.mp4'}
if (code.indexOf('540') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/540wg8av/sample.mp4'}
if (code.indexOf('5420') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5420kpec/sample.mp4'}
if (code.indexOf('544') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/544z9lwt/sample.mp4'}
if (code.indexOf('546') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/546xluqy/sample.mp4'}
if (code.indexOf('548') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/548gvixw/sample.mp4'}
if (code.indexOf('5512') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5512qn51/sample.mp4'}
if (code.indexOf('5532') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5532ypug/sample.mp4'}
if (code.indexOf('5552') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5552r37b/sample.mp4'}
if (code.indexOf('557') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/557h12vw/sample.mp4'}
if (code.indexOf('5597') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5597q79p/sample.mp4'}
if (code.indexOf('561') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/561klol5/sample.mp4'}
if (code.indexOf('563') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/563dtm1e/sample.mp4'}
if (code.indexOf('565') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/565gmy9s/sample.mp4'}
if (code.indexOf('568') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/568bcn3x/sample.mp4'}
if (code.indexOf('57099') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/57099yv0/sample.mp4'}
if (code.indexOf('572') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/572huact/sample.mp4'}
if (code.indexOf('57427') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/57427jwj/sample.mp4'}
if (code.indexOf('5767') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5767a9ib/sample.mp4'}
if (code.indexOf('578') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/578xlmph/sample.mp4'}
if (code.indexOf('58051') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/58051s4k/sample.mp4'}
if (code.indexOf('582') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/582c75qj/sample.mp4'}
if (code.indexOf('584') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/584nzqpe/sample.mp4'}
if (code.indexOf('586') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/586e47ty/sample.mp4'}
if (code.indexOf('588079') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/588079qe/sample.mp4'}
if (code.indexOf('5907') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5907ewl7/sample.mp4'}
if (code.indexOf('5922') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/5922sndl/sample.mp4'}
if (code.indexOf('594') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/594lam2w/sample.mp4'}
if (code.indexOf('597') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/597rvbpy/sample.mp4'}
if (code.indexOf('599') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/599wfclc/sample.mp4'}
if (code.indexOf('601') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/601lux89/sample.mp4'}
if (code.indexOf('603') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/603paz69/sample.mp4'}
if (code.indexOf('605') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/605m2mnw/sample.mp4'}
if (code.indexOf('607') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/607e0mbp/sample.mp4'}
if (code.indexOf('609') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/609zdube/sample.mp4'}
if (code.indexOf('611') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/611yjpca/sample.mp4'}
if (code.indexOf('613') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/613zcplw/sample.mp4'}
if (code.indexOf('615') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/615qu0s5/sample.mp4'}
if (code.indexOf('617') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/617tcshm/sample.mp4'}
if (code.indexOf('6196723') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6196723v/sample.mp4'}
if (code.indexOf('623') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/623aelkv/sample.mp4'}
if (code.indexOf('6259') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6259kfza/sample.mp4'}
if (code.indexOf('627') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/627uib2u/sample.mp4'}
if (code.indexOf('630') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/630pevv0/sample.mp4'}
if (code.indexOf('633') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/633ruz71/sample.mp4'}
if (code.indexOf('6369') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6369lvw3/sample.mp4'}
if (code.indexOf('638') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/638l2pco/sample.mp4'}
if (code.indexOf('6403') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6403klii/sample.mp4'}
if (code.indexOf('64278') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/64278uu5/sample.mp4'}
if (code.indexOf('644') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/644nzvec/sample.mp4'}
if (code.indexOf('646') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/646yeefr/sample.mp4'}
if (code.indexOf('6650') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6650qw7y/sample.mp4'}
if (code.indexOf('668') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/668kz15c/sample.mp4'}
if (code.indexOf('6709') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6709blo5/sample.mp4'}
if (code.indexOf('672') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/672dfqyj/sample.mp4'}
if (code.indexOf('674') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/674s9cmj/sample.mp4'}
if (code.indexOf('676') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/676skwtk/sample.mp4'}
if (code.indexOf('678') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/678wuyas/sample.mp4'}
if (code.indexOf('6807') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6807zbum/sample.mp4'}
if (code.indexOf('682') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/682hm2zm/sample.mp4'}
if (code.indexOf('684') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/684rkmr3/sample.mp4'}
if (code.indexOf('6860') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6860jm9q/sample.mp4'}
if (code.indexOf('688') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/688hrzpw/sample.mp4'}
if (code.indexOf('690') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/690vse7l/sample.mp4'}
if (code.indexOf('6921') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/6921tb0v/sample.mp4'}
if (code.indexOf('694') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/694rxr6n/sample.mp4'}
if (code.indexOf('696') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/696pfsmy/sample.mp4'}
if (code.indexOf('698') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/698zpppj/sample.mp4'}
if (code.indexOf('700') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/700h59gw/sample.mp4'}
if (code.indexOf('702') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/702zjchq/sample.mp4'}
if (code.indexOf('703') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/703gbsfs/sample.mp4'}
if (code.indexOf('7058703') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7058703v/sample.mp4'}
if (code.indexOf('707') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/707o0c2r/sample.mp4'}
if (code.indexOf('7092') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7092xcyx/sample.mp4'}
if (code.indexOf('711') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/711ce9o0/sample.mp4'}
if (code.indexOf('713') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/713k0u71/sample.mp4'}
if (code.indexOf('7155') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7155uera/sample.mp4'}
if (code.indexOf('7177') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7177rw6p/sample.mp4'}
if (code.indexOf('719') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/719wfksj/sample.mp4'}
if (code.indexOf('721') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/721a91ck/sample.mp4'}
if (code.indexOf('723') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/723tkwg3/sample.mp4'}
if (code.indexOf('725') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/725gc1w8/sample.mp4'}
if (code.indexOf('7279') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7279bc92/sample.mp4'}
if (code.indexOf('7295') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7295af8d/sample.mp4'}
if (code.indexOf('731') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/731ikba6/sample.mp4'}
if (code.indexOf('7330') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7330y262/sample.mp4'}
if (code.indexOf('735') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/735ngxch/sample.mp4'}
if (code.indexOf('7377') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7377fga4/sample.mp4'}
if (code.indexOf('739') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/739c2lya/sample.mp4'}
if (code.indexOf('741') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/741cfgkv/sample.mp4'}
if (code.indexOf('743') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/743tzxs2/sample.mp4'}
if (code.indexOf('74695') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/74695dv7/sample.mp4'}
if (code.indexOf('748') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/748fdnjb/sample.mp4'}
if (code.indexOf('750') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/750q84ya/sample.mp4'}
if (code.indexOf('7520') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7520xbg5/sample.mp4'}
if (code.indexOf('75465') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/75465p95/sample.mp4'}
if (code.indexOf('75662407') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/75662407/sample.mp4'}
if (code.indexOf('758') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/758cqcs6/sample.mp4'}
if (code.indexOf('760') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/760n2zp0/sample.mp4'}
if (code.indexOf('762') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/762gfyk5/sample.mp4'}
if (code.indexOf('764074') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/764074td/sample.mp4'}
if (code.indexOf('766') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/766dj1e0/sample.mp4'}
if (code.indexOf('768') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/768smzvk/sample.mp4'}
if (code.indexOf('770') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/770oqpc8/sample.mp4'}
if (code.indexOf('7723') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7723kfwj/sample.mp4'}
if (code.indexOf('774') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/774xdfy3/sample.mp4'}
if (code.indexOf('7766') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7766fk3t/sample.mp4'}
if (code.indexOf('778') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/778px6yg/sample.mp4'}
if (code.indexOf('7801') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7801cmks/sample.mp4'}
if (code.indexOf('7828') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7828jyju/sample.mp4'}
if (code.indexOf('7848') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7848vobv/sample.mp4'}
if (code.indexOf('7863') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7863cdhl/sample.mp4'}
if (code.indexOf('788') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/788knxin/sample.mp4'}
if (code.indexOf('7906') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/7906zskr/sample.mp4'}
if (code.indexOf('792') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/792wklsa/sample.mp4'}
if (code.indexOf('794') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/794wtzln/sample.mp4'}
if (code.indexOf('796') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/796wl2bv/sample.mp4'}
if (code.indexOf('798') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/798kl6rh/sample.mp4'}
if (code.indexOf('800') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/800k0l0t/sample.mp4'}
if (code.indexOf('802') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/802lqa9r/sample.mp4'}
if (code.indexOf('804') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/804m2t73/sample.mp4'}
if (code.indexOf('806') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/806ak5pb/sample.mp4'}
if (code.indexOf('809') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/809b2bpk/sample.mp4'}
if (code.indexOf('8111') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8111jiug/sample.mp4'}
if (code.indexOf('813') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/813umfqq/sample.mp4'}
if (code.indexOf('815') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/815fz9h1/sample.mp4'}
if (code.indexOf('817') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/817jwbxt/sample.mp4'}
if (code.indexOf('8192722') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8192722b/sample.mp4'}
if (code.indexOf('82105') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/82105dkl/sample.mp4'}
if (code.indexOf('8241') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8241daba/sample.mp4'}
if (code.indexOf('827') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/827yoqrc/sample.mp4'}
if (code.indexOf('829') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/829hjhd0/sample.mp4'}
if (code.indexOf('831') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/831m450o/sample.mp4'}
if (code.indexOf('83342') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/83342gpl/sample.mp4'}
if (code.indexOf('835') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/835c6ck1/sample.mp4'}
if (code.indexOf('837') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/837ut1pp/sample.mp4'}
if (code.indexOf('839') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/839eo0a9/sample.mp4'}
if (code.indexOf('841') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/841rd9vw/sample.mp4'}
if (code.indexOf('8431') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8431qgtf/sample.mp4'}
if (code.indexOf('8457') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8457ojtn/sample.mp4'}
if (code.indexOf('847') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/847cfilf/sample.mp4'}
if (code.indexOf('849') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/849i9wbp/sample.mp4'}
if (code.indexOf('851') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/851cypwi/sample.mp4'}
if (code.indexOf('853') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/853hojeo/sample.mp4'}
if (code.indexOf('8554') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8554rsdg/sample.mp4'}
if (code.indexOf('858') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/858xe0db/sample.mp4'}
if (code.indexOf('860') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/860oyutp/sample.mp4'}
if (code.indexOf('86228') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/86228c0w/sample.mp4'}
if (code.indexOf('864') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/864foziu/sample.mp4'}
if (code.indexOf('866') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/866m031k/sample.mp4'}
if (code.indexOf('868') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/868mmydi/sample.mp4'}
if (code.indexOf('870') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/870xenfc/sample.mp4'}
if (code.indexOf('8725387') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8725387o/sample.mp4'}
if (code.indexOf('875') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/875zix1w/sample.mp4'}
if (code.indexOf('8776') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8776aosw/sample.mp4'}
if (code.indexOf('879') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/879mcqpk/sample.mp4'}
if (code.indexOf('881') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/881mdmr6/sample.mp4'}
if (code.indexOf('883') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/883nelcm/sample.mp4'}
if (code.indexOf('885') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/885h8rq5/sample.mp4'}
if (code.indexOf('8879') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/8879jjlk/sample.mp4'}
if (code.indexOf('889') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/889jy8kc/sample.mp4'}
if (code.indexOf('892') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/892fcr7g/sample.mp4'}
if (code.indexOf('894') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/894knhvx/sample.mp4'}
if (code.indexOf('89620') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/89620k1s/sample.mp4'}
if (code.indexOf('898') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/898rusl9/sample.mp4'}
if (code.indexOf('9000') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9000ybqj/sample.mp4'}
if (code.indexOf('902') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/902tpno8/sample.mp4'}
if (code.indexOf('9046') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9046rc5q/sample.mp4'}
if (code.indexOf('906') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/906g9ofc/sample.mp4'}
if (code.indexOf('909') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/909fw7br/sample.mp4'}
if (code.indexOf('9116') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9116zagi/sample.mp4'}
if (code.indexOf('913') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/913apnrh/sample.mp4'}
if (code.indexOf('915') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/915bhm07/sample.mp4'}
if (code.indexOf('917') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/917o9xxu/sample.mp4'}
if (code.indexOf('9199') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9199wbtx/sample.mp4'}
if (code.indexOf('921') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/921cmx2o/sample.mp4'}
if (code.indexOf('923') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/923ikz1r/sample.mp4'}
if (code.indexOf('9252') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9252qk6d/sample.mp4'}
if (code.indexOf('927') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/927p4797/sample.mp4'}
if (code.indexOf('9299') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9299qr3j/sample.mp4'}
if (code.indexOf('931') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/931l2p53/sample.mp4'}
if (code.indexOf('933') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/933l8gea/sample.mp4'}
if (code.indexOf('935') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/935mcgj8/sample.mp4'}
if (code.indexOf('937') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/937k0ll6/sample.mp4'}
if (code.indexOf('939') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/939fjwey/sample.mp4'}
if (code.indexOf('9412') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9412lonn/sample.mp4'}
if (code.indexOf('943') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/943h55p1/sample.mp4'}
if (code.indexOf('945') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/945m8a0k/sample.mp4'}
if (code.indexOf('947') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/947gu3a8/sample.mp4'}
if (code.indexOf('949') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/949frjsc/sample.mp4'}
if (code.indexOf('951') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/951j1vca/sample.mp4'}
if (code.indexOf('953') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/953liyvp/sample.mp4'}
if (code.indexOf('955') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/955gqjp9/sample.mp4'}
if (code.indexOf('957') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/957y4b99/sample.mp4'}
if (code.indexOf('959') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/959lqaz7/sample.mp4'}
if (code.indexOf('961') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/961udlh1/sample.mp4'}
if (code.indexOf('9631') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9631sf8j/sample.mp4'}
if (code.indexOf('9651') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9651q13f/sample.mp4'}
if (code.indexOf('967') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/967xlq9c/sample.mp4'}
if (code.indexOf('969') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/969ycqoc/sample.mp4'}
if (code.indexOf('972') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/972gvlkx/sample.mp4'}
if (code.indexOf('974') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/974su4c2/sample.mp4'}
if (code.indexOf('976') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/976dnbbt/sample.mp4'}
if (code.indexOf('978') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/978gt6gh/sample.mp4'}
if (code.indexOf('980') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/980tsi8o/sample.mp4'}
if (code.indexOf('982') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/982diizq/sample.mp4'}
if (code.indexOf('984') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/984nm5kb/sample.mp4'}
if (code.indexOf('987') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/987l45tm/sample.mp4'}
if (code.indexOf('989') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/989wkccy/sample.mp4'}
if (code.indexOf('991335') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/991335aj/sample.mp4'}
if (code.indexOf('993') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/993mw06d/sample.mp4'}
if (code.indexOf('995') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/995x9u13/sample.mp4'}
if (code.indexOf('9970') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/9970by24/sample.mp4'}
if (code.indexOf('999') !== -1) {videoUrl = 'https://cdn.legsjapan.com/samples/999bt703/sample.mp4'}
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objlegsjapan).before(video)
        }
// XVSR-系列 3种格式 多种后缀
        addVideoXVSR(code, objXVSR) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/6/60' + videoSeries.substr(0, 1) + '/60' + videoSeries + codeArr[1] + '/60' + videoSeries + codeArr[1] + '_dm_s.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/6/60' + videoSeries.substr(0, 1) + '/60' + videoSeries + codeArr[1] + '/60' + videoSeries + codeArr[1] + '_dmb_s.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/6/60' + videoSeries.substr(0, 1) + '/60' + videoSeries + codeArr[1] + '/60' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_mhb_w.mp4';
let videoUrl5 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl6 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl7 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dm_w.mp4';
let videoUrl9 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_sm_w.mp4';
let videoUrl10 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl11 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_sm_w.mp4';
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          <source src="' + videoUrl3 + '" type="video/mp4" />\
                          <source src="' + videoUrl4 + '" type="video/mp4" />\
                          <source src="' + videoUrl5 + '" type="video/mp4" />\
                          <source src="' + videoUrl6 + '" type="video/mp4" />\
                          <source src="' + videoUrl7 + '" type="video/mp4" />\
                          <source src="' + videoUrl8 + '" type="video/mp4" />\
                          <source src="' + videoUrl9 + '" type="video/mp4" />\
                          <source src="' + videoUrl10 + '" type="video/mp4" />\
                          <source src="' + videoUrl11 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objXVSR).before(video)
        }
// BF-系列 包含HDBF-、JIBF-、MBRBF-、PBF-、MBF-、HDBF-
        addVideoBF(code, objBF) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 2) + '0/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dmb_s.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 2) + '0/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_s.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 2) + '0/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dm_s.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 2) + '0/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_mhb_w.mp4';
let videoUrl5 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 2) + '0/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl6 = '//cc3001.dmm.co.jp/litevideo/freepv/h/h_1/h_1614' + videoSeries + videoNo + '/h_1614' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl7 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/n/n_7/n_707' + videoSeries + codeArr[1] + '/n_707' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl9 = '//cc3001.dmm.co.jp/litevideo/freepv/n/n_7/n_707' + videoSeries + codeArr[1] + '/n_707' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl10 = '//cc3001.dmm.co.jp/litevideo/freepv/n/n_7/n_709' + videoSeries + codeArr[1] + '/n_709' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl11 = '//cc3001.dmm.co.jp/litevideo/freepv/4/406/406' + videoSeries + videoNo + '/406' + videoSeries + videoNo + '_dm_w.mp4';
let videoUrl12 = '//cc3001.dmm.co.jp/litevideo/freepv/4/436/436' + videoSeries + codeArr[1] + '/436' + videoSeries + codeArr[1] + '_sm_s.mp4';
let videoUrl13 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_mhb_w.mp4';
let videoUrl14 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl15 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl16 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl17 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dm_w.mp4';
let videoUrl18 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_sm_w.mp4';
let videoUrl19 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl20 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_sm_w.mp4';
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          <source src="' + videoUrl3 + '" type="video/mp4" />\
                          <source src="' + videoUrl4 + '" type="video/mp4" />\
                          <source src="' + videoUrl5 + '" type="video/mp4" />\
                          <source src="' + videoUrl6 + '" type="video/mp4" />\
                          <source src="' + videoUrl7 + '" type="video/mp4" />\
                          <source src="' + videoUrl8 + '" type="video/mp4" />\
                          <source src="' + videoUrl9 + '" type="video/mp4" />\
                          <source src="' + videoUrl10 + '" type="video/mp4" />\
                          <source src="' + videoUrl11 + '" type="video/mp4" />\
                          <source src="' + videoUrl12 + '" type="video/mp4" />\
                          <source src="' + videoUrl13 + '" type="video/mp4" />\
                          <source src="' + videoUrl14 + '" type="video/mp4" />\
                          <source src="' + videoUrl15 + '" type="video/mp4" />\
                          <source src="' + videoUrl16 + '" type="video/mp4" />\
                          <source src="' + videoUrl17 + '" type="video/mp4" />\
                          <source src="' + videoUrl18 + '" type="video/mp4" />\
                          <source src="' + videoUrl19 + '" type="video/mp4" />\
                          <source src="' + videoUrl20 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objBF).before(video)
        }

// SVVRT-系列 2种格式
        addVideoSVVRT(code, objSVVRT) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + codeArr[1] + '/1' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl3 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + codeArr[1] + '/1' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + codeArr[1] + '/1' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl5 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + codeArr[1] + '/1' + videoSeries + codeArr[1] + '_sm_w.mp4';
let videoUrl6 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_mhb_w.mp4';
let videoUrl7 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_dm_w.mp4';
let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/1/1' + videoSeries.substr(0, 2) + '/1' + videoSeries + videoNo + '/1' + videoSeries + videoNo + '_sm_w.mp4';
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          <source src="' + videoUrl3 + '" type="video/mp4" />\
                          <source src="' + videoUrl4 + '" type="video/mp4" />\
                          <source src="' + videoUrl5 + '" type="video/mp4" />\
                          <source src="' + videoUrl6 + '" type="video/mp4" />\
                          <source src="' + videoUrl7 + '" type="video/mp4" />\
                          <source src="' + videoUrl8 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objSVVRT).before(video)
        }
// DCV-系列 多种格式
        addVideoDCV(code, objDCV) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = 'https://sample.mgstage.com/sample/documentv/277' + videoSeries.substr(0, 3) + '/' + codeArr[1] + '/277' + code + '_sample.mp4';
if (code.indexOf('DCV-082') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/082/277DCV-082_sample_2.mp4'}
if (code.indexOf('DCV-158') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/158/277dcv-158_20220804T115502.mp4'}
if (code.indexOf('DCV-165') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/165/277dcv-165_20200826T104807.mp4'}
if (code.indexOf('DCV-166') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/166/277dcv-166_20200910T113801.mp4'}
if (code.indexOf('DCV-168') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/168/277dcv-168_20201014T105801.mp4'}
if (code.indexOf('DCV-176') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/176/277dcv-176_20210217T161801.mp4'}
if (code.indexOf('DCV-177') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/177/277dcv-177_20210304T183302.mp4'}
if (code.indexOf('DCV-178') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/178/277dcv-178_20210317T114314.mp4'}
if (code.indexOf('DCV-178') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/178/277dcv-178_20210317T114314.mp4'}
if (code.indexOf('DCV-179') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/179/277dcv-179_20210401T170801.mp4'}
if (code.indexOf('DCV-180') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/180/277dcv-180_20210413T161802.mp4'}
if (code.indexOf('DCV-181') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/181/277dcv-181_20210506T195301.mp4'}
if (code.indexOf('DCV-182') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/182/277dcv-182_20210519T113801.mp4'}
if (code.indexOf('DCV-183') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/183/277dcv-183_20210603T184813.mp4'}
if (code.indexOf('DCV-184') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/184/277dcv-184_20210616T105802.mp4'}
if (code.indexOf('DCV-185') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/185/277dcv-185_20210701T100301.mp4'}
if (code.indexOf('DCV-186') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/186/277dcv-186_20210715T154302.mp4'}
if (code.indexOf('DCV-187') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/187/277dcv-187_20210804T105802.mp4'}
if (code.indexOf('DCV-188') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/188/277dcv-188_20210819T192302.mp4'}
if (code.indexOf('DCV-189') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/189/277dcv-189_20210902T153801.mp4'}
if (code.indexOf('DCV-190') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/190/277dcv-190_20210916T105300.mp4'}
if (code.indexOf('DCV-191') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/191/277dcv-191_20210929T164302.mp4'}
if (code.indexOf('DCV-192') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/192/277dcv-192_20211014T153801.mp4'}
if (code.indexOf('DCV-193') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/193/277dcv-193_20211104T094301.mp4'}
if (code.indexOf('DCV-197') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/197/277dcv-197_20211229T130001.mp4'}
if (code.indexOf('DCV-198') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/198/277dcv-198_20220127T154501.mp4'}
if (code.indexOf('DCV-199') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/199/277dcv-199_20220202T194801.mp4'}
if (code.indexOf('DCV-200') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/200/277dcv-200_20220217T140001.mp4'}
if (code.indexOf('DCV-201') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/201/277dcv-201_20220302T113004.mp4'}
if (code.indexOf('DCV-202') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/202/277dcv-202_20220316T164002.mp4'}
if (code.indexOf('DCV-203') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/203/277dcv-203_20220330T133002.mp4'}
if (code.indexOf('DCV-204') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/204/277dcv-204_20220414T180002.mp4'}
if (code.indexOf('DCV-205') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/205/277dcv-205_20220428T144002.mp4'}
if (code.indexOf('DCV-206') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/206/277dcv-206_20220519T141003.mp4'}
if (code.indexOf('DCV-207') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/207/277dcv-207_20220601T165002.mp4'}
if (code.indexOf('DCV-208') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/208/277dcv-208_20220616T181501.mp4'}
if (code.indexOf('DCV-209') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/209/277dcv-209_20220629T180502.mp4'}
if (code.indexOf('DCV-210') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/210/277dcv-210_20220809T183502.mp4'}
if (code.indexOf('DCV-211') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/211/277dcv-211_20220728T120002.mp4'}
if (code.indexOf('DCV-212') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/212/277dcv-212_20220909T124502.mp4'}
if (code.indexOf('DCV-213') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/213/277dcv-213_20220921T155502.mp4'}
if (code.indexOf('DCV-215') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/215/277dcv-215_20221102T092503.mp4'}
if (code.indexOf('DCV-216') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentv/277dcv/216/277dcv-216_20221026T193502.mp4'}
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objDCV).before(video)
        }
// NMCH-系列 多种格式
        addVideoNMCH(code, objNMCH) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383' + videoSeries.substr(0, 4) + '/' + codeArr[1] + '/383' + code + '_sample.mp4';
if (code.indexOf('NMCH-001') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/001/383nmch-001_20211224T155304.mp4'}
if (code.indexOf('NMCH-003') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/003/383nmch-003_20220106T111502.mp4'}
if (code.indexOf('NMCH-004') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/004/383nmch-004_20220224T105502.mp4'}
if (code.indexOf('NMCH-005') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/005/383nmch-005_20220224T105502.mp4'}
if (code.indexOf('NMCH-006') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/006/383nmch-006_20220224T105502.mp4'}
if (code.indexOf('NMCH-010') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/010/383nmch-010_20220331T172002.mp4'}
if (code.indexOf('NMCH-014') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/014/383nmch-014_20220408T184502.mp4'}
if (code.indexOf('NMCH-015') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/015/383nmch-015_20220427T103502.mp4'}
if (code.indexOf('NMCH-017') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/017/383nmch-017_20220510T125502.mp4'}
if (code.indexOf('NMCH-018') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/018/383nmch-018_20220513T181502.mp4'}
if (code.indexOf('NMCH-019') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/019/383nmch-019_20220524T134503.mp4'}
if (code.indexOf('NMCH-020') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/020/383nmch-020_20220530T191502.mp4'}
if (code.indexOf('NMCH-022') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/022/383nmch-022_20220609T134502.mp4'}
if (code.indexOf('NMCH-025') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/025/383nmch-025_20220708T181502.mp4'}
if (code.indexOf('NMCH-027') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/027/383nmch-027_20220715T185001.mp4'}
if (code.indexOf('NMCH-028') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/028/383nmch-028_20220715T185001.mp4'}
if (code.indexOf('NMCH-029') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/029/383nmch-029_20220805T102001.mp4'}
if (code.indexOf('NMCH-030') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/030/383nmch-030_20220824T175002.mp4'}
if (code.indexOf('NMCH-031') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/031/383nmch-031_20220824T175002.mp4'}
if (code.indexOf('NMCH-032') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/032/383nmch-032_20220909T154502.mp4'}
if (code.indexOf('NMCH-033') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/033/383nmch-033_20220916T185302.mp4'}
if (code.indexOf('NMCH-035') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/035/383nmch-035_20221025T174001.mp4'}
if (code.indexOf('NMCH-036') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/reiwashirouto/383nmch/036/383nmch-036_20221025T174001.mp4'}
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objNMCH).before(video)
        }
// DDH-系列 多种格式
        addVideoDDH(code, objDDH) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498' + videoSeries.substr(0, 3) + '/' + codeArr[1] + '/498' + code + '_sample.mp4';
if (code.indexOf('DDH-001') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/001/498ddh-001_20210113T125301.mp4'}
if (code.indexOf('DDH-014') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/014/498ddh-014_20210408T094302.mp4'}
if (code.indexOf('DDH-019') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/019/498ddh-019_20210521T141802.mp4'}
if (code.indexOf('DDH-036') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/036/498ddh-036_20210830T101301.mp4'}
if (code.indexOf('DDH-042') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/042/498ddh-042_20210930T134801.mp4'}
if (code.indexOf('DDH-043') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/043/498ddh-043_20211007T121800.mp4'}
if (code.indexOf('DDH-044') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/044/498ddh-044_20211007T121800.mp4'}
if (code.indexOf('DDH-050') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/050/498ddh-050_20211105T190801.mp4'}
if (code.indexOf('DDH-051') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/051/498ddh-051_20211105T190801.mp4'}
if (code.indexOf('DDH-052') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/052/498ddh-052_20211111T111301.mp4'}
if (code.indexOf('DDH-053') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/053/498ddh-053_20211111T111301.mp4'}
if (code.indexOf('DDH-054') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/054/498ddh-054_20211119T093301.mp4'}
if (code.indexOf('DDH-055') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/055/498ddh-055_20211119T093301.mp4'}
if (code.indexOf('DDH-056') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/056/498ddh-056_20211129T102301.mp4'}
if (code.indexOf('DDH-057') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/057/498ddh-057_20211129T102301.mp4'}
if (code.indexOf('DDH-058') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/058/498ddh-058_20211206T103301.mp4'}
if (code.indexOf('DDH-059') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/059/498ddh-059_20211206T103301.mp4'}
if (code.indexOf('DDH-060') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/060/498ddh-060_20211213T122301.mp4'}
if (code.indexOf('DDH-061') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/061/498ddh-061_20211213T122301.mp4'}
if (code.indexOf('DDH-063') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/063/498ddh-063_20211217T130301.mp4'}
if (code.indexOf('DDH-065') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/065/498ddh-065_20211221T122801.mp4'}
if (code.indexOf('DDH-067') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/067/498ddh-067_20211223T182802.mp4'}
if (code.indexOf('DDH-075') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/075/498ddh-075_20220210T164502.mp4'}
if (code.indexOf('DDH-076') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/076/498ddh-076_20220225T155502.mp4'}
if (code.indexOf('DDH-079') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/079/498ddh-079_20220322T132002.mp4'}
if (code.indexOf('DDH-084') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/084/498ddh-084_20220425T111002.mp4'}
if (code.indexOf('DDH-085') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/085/498ddh-085_20220428T185002.mp4'}
if (code.indexOf('DDH-086') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/086/498ddh-086_20220506T190006.mp4'}
if (code.indexOf('DDH-087') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/087/498ddh-087_20220516T103502.mp4'}
if (code.indexOf('DDH-088') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/088/498ddh-088_20220520T191502.mp4'}
if (code.indexOf('DDH-089') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/089/498ddh-089_20220527T192002.mp4'}
if (code.indexOf('DDH-090') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/090/498ddh-090_20220603T143506.mp4'}
if (code.indexOf('DDH-091') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/091/498ddh-091_20220610T155002.mp4'}
if (code.indexOf('DDH-093') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/093/498ddh-093_20220624T131002.mp4'}
if (code.indexOf('DDH-096') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/096/498ddh-096_20220708T135502.mp4'}
if (code.indexOf('DDH-097') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/097/498ddh-097_20220715T165502.mp4'}
if (code.indexOf('DDH-098') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/098/498ddh-098_20220722T173502.mp4'}
if (code.indexOf('DDH-099') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/099/498ddh-099_20220722T173502.mp4'}
if (code.indexOf('DDH-100') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/100/498ddh-100_20220729T180501.mp4'}
if (code.indexOf('DDH-103') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/103/498ddh-103_20220809T114002.mp4'}
if (code.indexOf('DDH-104') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/104/498ddh-104_20220810T161002.mp4'}
if (code.indexOf('DDH-105') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/105/498ddh-105_20220810T161002.mp4'}
if (code.indexOf('DDH-106') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/106/498ddh-106_20220819T193801.mp4'}
if (code.indexOf('DDH-111') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/111/498ddh-111_20220909T193001.mp4'}
if (code.indexOf('DDH-112') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/112/498ddh-112_20220909T193001.mp4'}
if (code.indexOf('DDH-113') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/113/498ddh-113_20220916T184301.mp4'}
if (code.indexOf('DDH-114') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/114/498ddh-114_20220916T184301.mp4'}
if (code.indexOf('DDH-115') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/115/498ddh-115_20220922T174502.mp4'}
if (code.indexOf('DDH-116') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/116/498ddh-116_20220922T174502.mp4'}
if (code.indexOf('DDH-117') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/117/498ddh-117_20221003T102301.mp4'}
if (code.indexOf('DDH-118') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/118/498ddh-118_20221003T102301.mp4'}
if (code.indexOf('DDH-119') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/119/498ddh-119_20221007T170502.mp4'}
if (code.indexOf('DDH-120') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/120/498ddh-120_20221007T170502.mp4'}
if (code.indexOf('DDH-121') !== -1) {videoUrl = 'https://sample.mgstage.com/sample/documentdehamehame/498ddh/121/498ddh-121_20221014T180002.mp4'}
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objDDH).before(video)
        }

//MDTE-系列 两种
        addVideoMDTE(code, objMDTE) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_mhb_w.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dmb_w.mp4';
let videoUrl3= '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_mhb_w.mp4';
let videoUrl4 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dmb_w.mp4';
let videoUrl5 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_dm_w.mp4';
let videoUrl6 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + videoNo + '/' + videoSeries + videoNo + '_sm_w.mp4';
let videoUrl7 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_dm_w.mp4';
let videoUrl8 = '//cc3001.dmm.co.jp/litevideo/freepv/' + videoSeries[0] + '/' + videoSeries.substr(0, 3) + '/' + videoSeries + codeArr[1] + '/' + videoSeries + codeArr[1] + '_sm_w.mp4';
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          <source src="' + videoUrl3 + '" type="video/mp4" />\
                          <source src="' + videoUrl4 + '" type="video/mp4" />\
                          <source src="' + videoUrl5 + '" type="video/mp4" />\
                          <source src="' + videoUrl6 + '" type="video/mp4" />\
                          <source src="' + videoUrl7 + '" type="video/mp4" />\
                          <source src="' + videoUrl8 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objMDTE).before(video)
        }
//KU-系列 两种
        addVideoKUDETA(code, objKUDETA) {
            let codeArr = code.split(/-/);
            let videoSeries = codeArr[0].toLowerCase();
            let videoNo = format_zero(codeArr[1], 5);
					  let videoTwo = codeArr[1].substring(1);
let videoUrl = '//cc3001.dmm.co.jp/litevideo/freepv/n/n_7/n_707' + videoSeries + codeArr[1] + 'a/n_707' + videoSeries + codeArr[1] + 'a_dmb_w.mp4';
let videoUrl2 = '//cc3001.dmm.co.jp/litevideo/freepv/n/n_1/n_1233' + videoSeries + codeArr[1] + '/n_1233' + videoSeries + codeArr[1] + '_dmb_w.mp4';
if (code.indexOf('KU-096') !== -1) {videoUrl = 'https://cc3001.dmm.co.jp/litevideo/freepv/n/n_7/n_707ku096a/n_707ku096a_dmb_w.mp4'}//KU-系列仅此三个
if (code.indexOf('KU-123') !== -1) {videoUrl = 'https://cc3001.dmm.co.jp/litevideo/freepv/n/n_1/n_1233ku123/n_1233ku123_dmb_w.mp4'}
if (code.indexOf('KU-124') !== -1) {videoUrl = 'https://cc3001.dmm.co.jp/litevideo/freepv/n/n_1/n_1233ku124/n_1233ku124_dmb_w.mp4'}
            let video = $('<div style="text-align: center;padding: 10px;border-radius: 4px;border: 1px solid #ccc;margin: 10px 0;">\
                          <video controls autoplay muted style="width: 1120px;">\
                          <source src="' + videoUrl + '" type="video/mp4" />\
                          <source src="' + videoUrl2 + '" type="video/mp4" />\
                          </video>\
                          </div>');
            $(objKUDETA).before(video)
        }
// 数据节点结束
    }
    class JavBus extends Base {
        constructor(Request, Waterfull) {
            super(Request, Waterfull);
             GM_addStyle(`
                .info a.red {color:red;padding-right:8px;}
                .screencap {
                        position: relative;
                }
                .screencap a.download {
                    position: absolute;
										background: #fff;
                    background:rgba(255,255,255,0.7);
                    font-size: 12px;
                    right: 20px;
                    top: 5px;
                    border:0px solid;
                    border-radius: 4px;
                    padding: 2px 3px;
                    border-radius: 5px;
                }
            `);
            if ($('.col-md-3.info').length > 0) {
                this.detailPage();
            }
        }
        detailPage() {
            let _this = this;
            let info = $('.col-md-3.info');
            //标题
            let title = $('.container > h3').text();
            //识别码
            let codeRow = info.find('p').eq(0);
            let code = codeRow.find('span').eq(1).html();
					  //製作商
            //let studioN = info.find('P').eq(3);
            //let studio = info.replace("製作商:","").trim();
            //let studio = studioN.find('a[href]').eq(0).html();
            let studio = info.find('a[href*="/studio/"]').eq(0).html();
            codeRow.append($('<span style="color:red">←点击复制</span>'));
            codeRow.on('click', function () {
                GM_setClipboard(code);
                $(this).find('span').eq(2).html('←已复制到黏贴板');
            });
            //添加预告视频观看按钮
             if(null != studio.match(/カリビアンコム|Caribbeancom/)) {
                this.addVideoC(code, '.row.movie');
            }else if(null != studio.match(/東京熱|Tokyo-Hot|レッドホットコレクション/)) {
                this.addVideoN(code, '.row.movie');
            }else if(null != studio.match(/一本道|1pondo/)) {
                this.addVideoY(code, '.row.movie');
            }else if (null != studio.match(/天然むすめ|10musume/)) {
                this.addVideoH(code, '.row.movie');
            }else if (null != studio.match(/パコパコママ/)) {
                this.addVideoPM(code, '.row.movie');
            }else if (null != studio.match(/KUDETA/)) {
                this.addVideoKUDETA(code, '.row.movie');//KU-系列
            }else if (null != code.match(/DCV-/)) {
                this.addVideoDCV(code, '.row.movie'); //DCV系列
            }else if (null != code.match(/VR-/)) {
                this.addVideoVR(code, '.row.movie');
            }else if (null != code.match(/DANDAN-/)) {
                this.addVideodandan(code, '.row.movie');
            }else if (null != code.match(/MDTM-/)) {
                this.addVideoMDTM(code, '.row.movie');
            }else if (null != code.match(/XVSR-/)) {
                this.addVideoXVSR(code, '.row.movie');
            }else if (null != code.match(/BF-/)) {
                this.addVideoBF(code, '.row.movie');
            }else if (null != code.match(/SVVRT-/)) {
                this.addVideoSVVRT(code, '.row.movie');
            }else if (null != code.match(/NMCH-/)) {
                this.addVideoNMCH(code, '.row.movie');
            }else if (null != code.match(/DDH-/)) {
                this.addVideoDDH(code, '.row.movie');
            }else if (null != code.match(/MDTE-/)) {
                this.addVideoMDTE(code, '.row.movie');
            }else {
                this.addVideo(code, '.row.movie');
            }
            //添加跳转到javlibrary链接
            info.append("<p><a class='red' href='http://www.javlibrary.com/cn/vl_searchbyid.php?keyword=" + code + "' target='_blank'>javlib</a><a class='red' href='https://javdb005.com/search?q=" + code + "' target='_blank'>javdb</a><a class='red' href='https://dd7448.com/serch_censored.htm?skey=" + code + "' target='_blank'>javbooks</a><a class='red' href='https://api1.javspyl.tk/?" + code + "' target='_blank'>javspyl</a><a class='red' href='https://www.sehuatang.net/search.php?mod=forum&srchtype=title&srhfid=&srhlocality=forum::index&srchtxt=" + code + "&searchsubmit=true' target='_blank'>98</a></p>");
            //封面图添加下载按钮
            let downloadBtn = $('<a class="download">' + studio + '&nbsp;&nbsp;封面下载</a>');
            let imgUrl = $('.screencap img').attr('src');
            downloadBtn.on('click', function (e) {
                e.stopPropagation();
                _this.downloadPic(title, imgUrl);
                return true;
            });
            downloadBtn.attr('download', code);
            $('.screencap').append(downloadBtn);
        }
    }
    class JavLibrary extends Base {
        constructor(Request, Waterfull) {
            super(Request, Waterfull);
            GM_addStyle(`
                .header a.red {color:red;padding-right:8px;}
                #video_info td {
                    vertical-align: text-bottom;
                }
                #video_jacket {
                    position: relative;
                }
                #video_jacket a {
                    position: absolute;
										background: #fff;
                    background:rgba(255,255,255,0.7);
                    font-size: 12px;
                    right: 20px;
                    top: 5px;
                    border:0px solid;
                    border-radius: 4px;
                    padding: 2px 3px;
                    border-radius: 5px;
                }
            `);
            if ($('#video_info').length > 0) {
                this.detailPage();
            }
            if ($('div.page_selector').length > 0) {
                this.listPage();
            }
        }
        detailPage() {
            let _this = this;
            let info = $('#video_info');
            //标题
            let title = $('.post-title').text();
            //识别码
            let codeRow = info.find('.item').eq(0);
            let code = codeRow.find('.text').html();
            let studio = info.find('a[href*="vl_maker.php?m"]').eq(0).html();
            codeRow.find('tr').append($('<td class="text" style="color:red">←点击复制</td>'));
            codeRow.on('click', function () {
                GM_setClipboard(code);
                $(this).find('td').last().html('←已复制到黏贴板');
            });
            //添加跳转到javlibrary链接
            info.append("<div class='item'><table><tbody><tr><td class='header'><a class='red' href='https://www.javbus.com/" + code + "' target='_blank'>javbus</a><a class='red' href='https://javdb005.com/search?q=" + code + "' target='_blank'>javdb</a><a class='red' href='https://dd7448.com/serch_censored.htm?skey=" + code + "' target='_blank'>javbooks</a><a class='red' href='https://api1.javspyl.tk/?" + code + "' target='_blank'>javspyl</a><a class='red' href='https://www.sehuatang.net/search.php?mod=forum&srchtype=title&srhfid=&srhlocality=forum::index&srchtxt=" + code + "&searchsubmit=true' target='_blank'>98</a></td></tr></tbody></table></div>");
            //演员
            info.find('a').attr('target', '_blank');
            //添加预告视频观看按钮
             if(null != studio.match(/カリビアンコム|Caribbeancom/)) {
                this.addVideoC(code, '#video_favorite_edit');
            }else if(null != studio.match(/東京熱|Tokyo-Hot|レッドホットコレクション/)) {
                this.addVideoN(code, '#video_favorite_edit');
            }else if(null != studio.match(/一本道|1pondo/)) {
                this.addVideoY(code, '#video_favorite_edit');
            }else if (null != studio.match(/天然むすめ|10musume/)) {
                this.addVideoH(code, '#video_favorite_edit');
            }else if (null != studio.match(/パコパコママ/)) {
                this.addVideoPM(code, '#video_favorite_edit');
            }else if (null != studio.match(/KUDETA/)) {
                this.addVideoKUDETA(code, '#video_favorite_edit');
            }else if (null != code.match(/DCV-/)) {
                this.addVideoDCV(code, '#video_favorite_edit'); //DCV系列
            }else if (null != code.match(/VR-/)) {
                this.addVideoVR(code, '#video_favorite_edit');
            }else if (null != code.match(/DANDAN-/)) {
                this.addVideodandan(code, '#video_favorite_edit');
            }else if (null != code.match(/MDTM-/)) {
                this.addVideoMDTM(code, '#video_favorite_edit');
            }else if (null != code.match(/XVSR-/)) {
                this.addVideoXVSR(code, '#video_favorite_edit');
            }else if (null != code.match(/BF-/)) {
                this.addVideoBF(code, '#video_favorite_edit');
            }else if (null != code.match(/SVVRT-/)) {
                this.addVideoSVVRT(code, '#video_favorite_edit');
            }else if (null != code.match(/NMCH-/)) {
                this.addVideoNMCH(code, '#video_favorite_edit');
            }else if (null != code.match(/DDH-/)) {
                this.addVideoDDH(code, '#video_favorite_edit');
            }else if (null != code.match(/MDTE-/)) {
                this.addVideoMDTE(code, '#video_favorite_edit');
            }else {
                this.addVideo(code, '#video_favorite_edit');
            }
            //封面图添加下载按钮
            let downloadBtn = $('<a class="download">' + studio + '&nbsp;&nbsp;封面下载</a>');
            let imgUrl = $('#video_jacket img').attr('src');
            downloadBtn.on('click', function (e) {
                e.stopPropagation();
                _this.downloadPic(title, imgUrl);
                return false;
            });
            downloadBtn.attr('download', code);
            $('#video_jacket').append(downloadBtn);
        }
    }
//新增db支持
    class Javdb extends Base {
        constructor(Request, Waterfull) {
            super(Request, Waterfull);
            GM_addStyle(`
                .header a.red {color:red;padding-right:8px;}
								.video-meta-panel {
                    height: 560px;
                }
                .column.column-video-cover {
                    position: relative;
                }
                .column.column-video-cover a {
                    position: absolute;
										background: #fff;
                    background:rgba(255,255,255,0.7);
                    font-size: 12px;
                    right: 20px;
                    top: 5px;
                    border:0px solid;
                    border-radius: 4px;
                    padding: 2px 3px;
                    border-radius: 5px;
                }
            `);
            if ($('.panel.movie-panel-info').length > 0) {
                this.detailPage();
            }
            if ($('div.page_selector').length > 0) {
                this.listPage();
            }
        }
        detailPage() {
            let _this = this;
            let info = $('.panel.movie-panel-info');
            //标题
            let title = $('.title.is-4').text().trim();
            //识别码
            let code = $('body > section > div > div.video-detail > h2 > strong').text().trim().split(' ')[0];
            let studio = info.find('a[href*="/makers/"]').eq(0).html();
            //添加跳转到javlibrary链接
            info.append("<div class='item'><table><tbody><tr><td class='header'><a class='red' href='http://www.javlibrary.com/cn/vl_searchbyid.php?keyword=" + code + "' target='_blank'>javlib</a><a class='red' href='https://www.javbus.com/" + code + "' target='_blank'>javbus</a><a class='red' href='https://dd7448.com/serch_censored.htm?skey=" + code + "' target='_blank'>javbooks</a><a class='red' href='https://api1.javspyl.tk/?" + code + "' target='_blank'>javspyl</a><a class='red' href='https://www.sehuatang.net/search.php?mod=forum&srchtype=title&srhfid=&srhlocality=forum::index&srchtxt=" + code + "&searchsubmit=true' target='_blank'>98</a></td></tr></tbody></table></div>");
            //添加预告视频观看按钮
             if(null != studio.match(/カリビアンコム|Caribbeancom/)) {
                this.addVideoC(code, '.video-meta-panel');
            }else if(null != studio.match(/東京熱|Tokyo-Hot|レッドホットコレクション/)) {
                this.addVideoN(code, '.video-meta-panel');
            }else if(null != studio.match(/一本道|1pondo/)) {
                this.addVideoY(code, '.video-meta-panel');
            }else if (null != studio.match(/天然むすめ|10musume/)) {
                this.addVideoH(code, '.video-meta-panel');
            }else if (null != studio.match(/パコパコママ/)) {
                this.addVideoPM(code, '.video-meta-panel');
            }else if(null != studio.match(/KUDETA/)) {
                this.addVideoKUDETA(code, '.video-meta-panel');
            }else if (null != code.match(/DCV-/)) {
                this.addVideoDCV(code, '.video-meta-panel'); //DCV系列
            }else if (null != code.match(/legsjapan/)) {
                this.addVideolegsjapan(code, '.video-meta-panel');
            }else if (null != code.match(/VR-/)) {
                this.addVideoVR(code, '.video-meta-panel');
            }else if (null != code.match(/DANDAN-/)) {
                this.addVideodandan(code, '.video-meta-panel');
            }else if (null != code.match(/MDTM-/)) {
                this.addVideoMDTM(code, '.video-meta-panel');
            }else if (null != code.match(/XVSR-/)) {
                this.addVideoXVSR(code, '.video-meta-panel');
            }else if (null != code.match(/BF-/)) {
                this.addVideoBF(code, '.video-meta-panel');
            }else if (null != code.match(/SVVRT-/)) {
                this.addVideoSVVRT(code, '.video-meta-panel');
            }else if (null != code.match(/NMCH-/)) {
                this.addVideoNMCH(code, '.video-meta-panel');
            }else if (null != code.match(/DDH-/)) {
                this.addVideoDDH(code, '.video-meta-panel');
            }else if (null != code.match(/MDTE-/)) {
                this.addVideoMDTE(code, '.video-meta-panel');
            }else {
                this.addVideo(code, '.video-meta-panel');
            }
            //封面图添加下载按钮
            let downloadBtn = $('<a class="download">' + studio + '&nbsp;&nbsp;封面下载</a>');
            let imgUrl = $('.column.column-video-cover img').attr('src');
            downloadBtn.on('click', function (e) {
                e.stopPropagation();
                _this.downloadPic(title, imgUrl);
                return false;
            });
            downloadBtn.attr('download', code);
            $('.column.column-video-cover').append(downloadBtn);
        }
    }
//db段结束
    class Main {
        constructor() {
            if ($("footer:contains('JavBus')").length) {
                this.site = 'javBus';
            } else if ($("#bottomcopyright:contains('JAVLibrary')").length) {
                this.site = 'javLibrary'
            } else if ($("#footer:contains('javdb')").length) {
                this.site = 'javdb'
            }
        }
        make() {
            let WaterfullObj = new Waterfull();
            let requestObj = new Request();
            let obj;
            switch (this.site) {
                case 'javBus':
                    obj = new JavBus(requestObj, WaterfullObj);
                    break;
                case 'javLibrary':
                    obj = new JavLibrary(requestObj, WaterfullObj);
                    break;
                case 'javdb':
                    obj = new Javdb(requestObj, WaterfullObj);
                    break;
            }
            return obj;
        }
    }
    let main = new Main();
    main.make();
})();