ThaiSEOBoard.com

พัฒนาเว็บไซต์ => Programming => ข้อความที่เริ่มโดย: PassionlessZ ที่ 11 ธันวาคม 2019, 11:09:37



หัวข้อ: มีใครทำ Videos Ads แบบนี้ได้บ้างครับ
เริ่มหัวข้อโดย: PassionlessZ ที่ 11 ธันวาคม 2019, 11:09:37
เป็น Video Ads ก่อนเล่น วีดีโอจริง ซึ่ง วีดีโอจริง ฝากไว้อีกที่นึง แต่ Video Ads เก้บไว้ใน Proxy ของเรา

ตย.
โค๊ด:
https://fullmatch.net/play/666/embed.php?data=jWDfAeV+dh5ltA+iUcnSthjqRI1Ve3j3NMyaBkKxGDBXWIS5gLe5YwrJ2/tYNWTIc3/MHS8xqLypKizyJaL16Oxsc/gmDIXaJu3mUFjsSrK7QT+g0zIp2As69SikwMzD+P3gHX73JsF+U24oeZlAMA==

ใครทำได้ รบกวน อินบ๊อก มาทีครับ


หัวข้อ: Re: มีใครทำ Videos Ads แบบนี้ได้บ้างครับ
เริ่มหัวข้อโดย: minigoood ที่ 11 ธันวาคม 2019, 13:26:52
VAST JWplayer ใน google เยอะแยะเลย


หัวข้อ: Re: มีใครทำ Videos Ads แบบนี้ได้บ้างครับ
เริ่มหัวข้อโดย: PassionlessZ ที่ 11 ธันวาคม 2019, 14:08:01
VAST JWplayer ใน google เยอะแยะเลย

รับทำไหมครับ


หัวข้อ: Re: มีใครทำ Videos Ads แบบนี้ได้บ้างครับ
เริ่มหัวข้อโดย: kantz ที่ 12 ธันวาคม 2019, 04:22:00
น่าจะพอทำได้ แต่ให้เปะ คงต้องฝึกอีกนิด ว่าแต่จะมี video footage ให้เยอะมั้ย และ การทำ transition เยอะๆ  เล่น color grading  หน่อยๆ
ตามความคิดเห็นผมนะ


หัวข้อ: Re: มีใครทำ Videos Ads แบบนี้ได้บ้างครับ
เริ่มหัวข้อโดย: ANALOGY ที่ 12 ธันวาคม 2019, 09:01:02
ลองดูครับถอดโค๊ดแล้วจะออกมาประมาณนี้

โค๊ด:
<!DOCTYPE html>
<html>

<head>
  <title>IDFL8 Player - fullmatch.net</title>
  <meta name="robots" content="noindex">
  <link rel="shortcut icon" href="assets/images/favicon.png" type="image/x-icon" />
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.0/sweetalert.min.js"></script>
  <script type="text/javascript" src="https://content.jwplatform.com/libraries/0P4vdmeO.js"></script>
  <script type="text/javascript">
    jwplayer.key = "cLGMn8T20tGvW 0eXPhq4NNmLB57TrscPjd1IyJF84o=";
  </script>
  <style>
    #fullmatchnet-player {
      width: 100% !important;
    }

    #fullmatchnet-player {
      height: 100% !important;
    }

    body,
    html {
      padding-left: 0;
    }

    html,
    body {
      padding-bottom: 0;
    }

    #fullmatchnet-player {
      position: absolute;
    }

    #fullmatchnet-player,
    body,
    html {
      background: #000;
    }

    body,
    html {
      padding-right: 0;
    }

    html,
    body {
      padding-top: 0;
    }

    html,
    body {
      margin-left: 0;
    }

    html,
    body {
      margin-bottom: 0;
    }

    html,
    body {
      margin-right: 0;
    }

    body,
    html {
      margin-top: 0;
    }

    html,
    body {
      overflow: hidden;
    }

    .fullmatchnet-iframe {
      position: absolute;
      width: 100% !important;
      height: 100% !important
    }
  </style>
</head>

<body>
  <div id="fullmatchnet-player"></div>
  <script type="text/javascript">
    var player = jwplayer("fullmatchnet-player");
    player.setup({
      sources: [{
        "label": "undefined",
        "type": "video/mp4",
        "file": "undefined"
      }],
      aspectratio: "16:9",
      startparam: "start",
      primary: "html5",
      preload: "auto",
      image: "",
      logo: {
        file: "//fullmatch.net/play/fullmatch.png",
        position: "top-right",
        link: "//fullmatch.net/"
      },
      advertising: {
        tag: "https://googleads.g.doubleclick.net/pagead/ads?client=ca-video-pub-7363809219244122&slotname=4608467852&ad_type=video_text_image&description_url=http://fullmatch.net&max_ad_duration=30000&videoad_start_delay=0",
        client: "googima",
        vpaidmode: "insecure"
      },
      aboutlink: "//fullmatch.net",
      abouttext: "IDFL8 - fullmatch.net",
      captions: {
        color: "#f3f368",
        fontSize: 16,
        backgroundOpacity: 0,
        fontfamily: "Helvetica",
        edgeStyle: "raised"
      },
      tracks: []
    });
    player.on("error", function() {
      swal({
        title: "Please Wait!",
        text: "Redirecting to Stream Server.",
        timer: 3000
      })
    });
    player.on("error", function() {
      $("#fullmatchnet-player").html("<div class="fullmatchnet-iframe"> <iframe src="https://www.ok.ru/videoembed/1528449927690" width="100%" height="100%" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>")
    });
  </script>
</body>

</html>

https://anotepad.com/note/read/53fqjri


หัวข้อ: Re: มีใครทำ Videos Ads แบบนี้ได้บ้างครับ
เริ่มหัวข้อโดย: PassionlessZ ที่ 12 ธันวาคม 2019, 10:20:48
ลองดูครับถอดโค๊ดแล้วจะออกมาประมาณนี้

โค๊ด:
<!DOCTYPE html>
<html>

<head>
  <title>IDFL8 Player - fullmatch.net</title>
  <meta name="robots" content="noindex">
  <link rel="shortcut icon" href="assets/images/favicon.png" type="image/x-icon" />
  <script type="text/javascript" src="[url]https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js[/url]"></script>
  <script type="text/javascript" src="[url]https://cdnjs.cloudflare.com/ajax/libs/sweetalert/2.1.0/sweetalert.min.js[/url]"></script>
  <script type="text/javascript" src="[url]https://content.jwplatform.com/libraries/0P4vdmeO.js[/url]"></script>
  <script type="text/javascript">
    jwplayer.key = "cLGMn8T20tGvW 0eXPhq4NNmLB57TrscPjd1IyJF84o=";
  </script>
  <style>
    #fullmatchnet-player {
      width: 100% !important;
    }

    #fullmatchnet-player {
      height: 100% !important;
    }

    body,
    html {
      padding-left: 0;
    }

    html,
    body {
      padding-bottom: 0;
    }

    #fullmatchnet-player {
      position: absolute;
    }

    #fullmatchnet-player,
    body,
    html {
      background: #000;
    }

    body,
    html {
      padding-right: 0;
    }

    html,
    body {
      padding-top: 0;
    }

    html,
    body {
      margin-left: 0;
    }

    html,
    body {
      margin-bottom: 0;
    }

    html,
    body {
      margin-right: 0;
    }

    body,
    html {
      margin-top: 0;
    }

    html,
    body {
      overflow: hidden;
    }

    .fullmatchnet-iframe {
      position: absolute;
      width: 100% !important;
      height: 100% !important
    }
  </style>
</head>

<body>
  <div id="fullmatchnet-player"></div>
  <script type="text/javascript">
    var player = jwplayer("fullmatchnet-player");
    player.setup({
      sources: [{
        "label": "undefined",
        "type": "video/mp4",
        "file": "undefined"
      }],
      aspectratio: "16:9",
      startparam: "start",
      primary: "html5",
      preload: "auto",
      image: "",
      logo: {
        file: "//fullmatch.net/play/fullmatch.png",
        position: "top-right",
        link: "//fullmatch.net/"
      },
      advertising: {
        tag: "[url]https://googleads.g.doubleclick.net/pagead/ads?client=ca-video-pub-7363809219244122&slotname=4608467852&ad_type=video_text_image&description_url=http://fullmatch.net&max_ad_duration=30000&videoad_start_delay=0[/url]",
        client: "googima",
        vpaidmode: "insecure"
      },
      aboutlink: "//fullmatch.net",
      abouttext: "IDFL8 - fullmatch.net",
      captions: {
        color: "#f3f368",
        fontSize: 16,
        backgroundOpacity: 0,
        fontfamily: "Helvetica",
        edgeStyle: "raised"
      },
      tracks: []
    });
    player.on("error", function() {
      swal({
        title: "Please Wait!",
        text: "Redirecting to Stream Server.",
        timer: 3000
      })
    });
    player.on("error", function() {
      $("#fullmatchnet-player").html("<div class="fullmatchnet-iframe"> <iframe src="[url]https://www.ok.ru/videoembed/1528449927690[/url]" width="100%" height="100%" frameborder="0" allowfullscreen="allowfullscreen"></iframe></div>")
    });
  </script>
</body>

</html>

[url]https://anotepad.com/note/read/53fqjri[/url]


ขอบคุณมากครับ