Jump to content
Wesley Inacio

preg_match vídeo do youtube

Recommended Posts

Olá, estou com um problema em meu novo projeto.

 

Baixei uma class para baixar um vídeo do YouTube, esta classe, gera 5 links para download em 5 qualidades diferentes (5 tags em mp4), porém, esta parte do preg_match, só trás os 5 primeiros links nas qualidades 22, 18, 59, 43 e 17, eu queria que ele trouxesse também a qualidade 140 (e entre outras) que são de áudio.

 

Este é o preg_match que está retornando até a 5º qualidade:

 

if(preg_match('@url_encoded_fmt_stream_map["\']:\s*["\']([^"\'\s]*)@', $html, $matches)){

($html = Todo o html do vídeo na página do YouTube com o script que gera em todas qualidades)

($matches = Array abaixo, já retornando apenas com 5 tags de qualidade diferentes, eu queria mais tags)

Ele retorna:

array (
  0 => 'url_encoded_fmt_stream_map":"sp=signature\\u0026quality=hd720\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D206.773%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26ratebypass%3Dyes%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26requiressl%3Dyes%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26ipbits%3D0%26fvip%3D1%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26expire%3D1525639262%26mime%3Dvideo%252Fmp4%26key%3Dyt6%26ip%3D201.75.228.145%26mt%3D1525617522%26lmt%3D1524616680905595%26fexp%3D23724337%26sparams%3Ddur%252Cei%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Cratebypass%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ%26itag%3D22\\u0026itag=22\\u0026s=FCFC7FC76378EDA89ED9ACACE3C44AF56F85461F4CCFE.3EDE46C81594E50AAD71A86411149424EF2EACD8D8\\u0026type=video%2Fmp4%3B+codecs%3D%22avc1.64001F%2C+mp4a.40.2%22,sp=signature\\u0026quality=medium\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D0.000%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26ratebypass%3Dyes%26requiressl%3Dyes%26gir%3Dyes%26fvip%3D1%26expire%3D1525639262%26mime%3Dvideo%252Fwebm%26key%3Dyt6%26ipbits%3D0%26lmt%3D1524619514746879%26itag%3D43%26mt%3D1525617522%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26clen%3D22386160%26ip%3D201.75.228.145%26fexp%3D23724337%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Cratebypass%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ\\u0026itag=43\\u0026s=BFBF9BF9E5986A32FEC587D4202CAF7F9ACC1A35C649A.768A318A1C25AF5E77647A0F4354CEFBDCDCCD9C9C\\u0026type=video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22,sp=signature\\u0026quality=medium\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D206.773%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26ratebypass%3Dyes%26requiressl%3Dyes%26gir%3Dyes%26fvip%3D1%26expire%3D1525639262%26mime%3Dvideo%252Fmp4%26key%3Dyt6%26ipbits%3D0%26lmt%3D1524616369334936%26itag%3D18%26mt%3D1525617522%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26clen%3D18471872%26ip%3D201.75.228.145%26fexp%3D23724337%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Cratebypass%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ\\u0026itag=18\\u0026s=8C8C78C7C868E05694F249085D3D5614829716523CF06.5EEA20400B72CE2F36C82A7A10AEA3E8B9CD734343\\u0026type=video%2Fmp4%3B+codecs%3D%22avc1.42001E%2C+mp4a.40.2%22,sp=signature\\u0026quality=small\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D206.796%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26requiressl%3Dyes%26gir%3Dyes%26fvip%3D1%26expire%3D1525639262%26mime%3Dvideo%252F3gpp%26key%3Dyt6%26ipbits%3D0%26lmt%3D1524613263245690%26itag%3D36%26mt%3D1525617522%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26clen%3D5695363%26ip%3D201.75.228.145%26fexp%3D23724337%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ\\u0026itag=36\\u0026s=6F6F06F03E6ADDBD5A43643A1A903FBC0B3F71C279BDA.B5345278483D15920CA21C59A5C2894FFC8364B6B6\\u0026type=video%2F3gpp%3B+codecs%3D%22mp4v.20.3%2C+mp4a.40.2%22,sp=signature\\u0026quality=small\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D206.796%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26requiressl%3Dyes%26gir%3Dyes%26fvip%3D1%26expire%3D1525639262%26mime%3Dvideo%252F3gpp%26key%3Dyt6%26ipbits%3D0%26lmt%3D1524613259315388%26itag%3D17%26mt%3D1525617522%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26clen%3D2025409%26ip%3D201.75.228.145%26fexp%3D23724337%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ\\u0026itag=17\\u0026s=B2B2CB2C034C4C477DADF1FF7874DA53B4E05BADA326E.DC4FC56FFF52867A3E65F7F87B08866182488B1616\\u0026type=video%2F3gpp%3B+codecs%3D%22mp4v.20.3%2C+mp4a.40.2%22',
  1 => 'sp=signature\\u0026quality=hd720\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D206.773%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26ratebypass%3Dyes%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26requiressl%3Dyes%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26ipbits%3D0%26fvip%3D1%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26expire%3D1525639262%26mime%3Dvideo%252Fmp4%26key%3Dyt6%26ip%3D201.75.228.145%26mt%3D1525617522%26lmt%3D1524616680905595%26fexp%3D23724337%26sparams%3Ddur%252Cei%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Cratebypass%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ%26itag%3D22\\u0026itag=22\\u0026s=FCFC7FC76378EDA89ED9ACACE3C44AF56F85461F4CCFE.3EDE46C81594E50AAD71A86411149424EF2EACD8D8\\u0026type=video%2Fmp4%3B+codecs%3D%22avc1.64001F%2C+mp4a.40.2%22,sp=signature\\u0026quality=medium\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D0.000%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26ratebypass%3Dyes%26requiressl%3Dyes%26gir%3Dyes%26fvip%3D1%26expire%3D1525639262%26mime%3Dvideo%252Fwebm%26key%3Dyt6%26ipbits%3D0%26lmt%3D1524619514746879%26itag%3D43%26mt%3D1525617522%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26clen%3D22386160%26ip%3D201.75.228.145%26fexp%3D23724337%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Cratebypass%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ\\u0026itag=43\\u0026s=BFBF9BF9E5986A32FEC587D4202CAF7F9ACC1A35C649A.768A318A1C25AF5E77647A0F4354CEFBDCDCCD9C9C\\u0026type=video%2Fwebm%3B+codecs%3D%22vp8.0%2C+vorbis%22,sp=signature\\u0026quality=medium\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D206.773%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26ratebypass%3Dyes%26requiressl%3Dyes%26gir%3Dyes%26fvip%3D1%26expire%3D1525639262%26mime%3Dvideo%252Fmp4%26key%3Dyt6%26ipbits%3D0%26lmt%3D1524616369334936%26itag%3D18%26mt%3D1525617522%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26clen%3D18471872%26ip%3D201.75.228.145%26fexp%3D23724337%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Cratebypass%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ\\u0026itag=18\\u0026s=8C8C78C7C868E05694F249085D3D5614829716523CF06.5EEA20400B72CE2F36C82A7A10AEA3E8B9CD734343\\u0026type=video%2Fmp4%3B+codecs%3D%22avc1.42001E%2C+mp4a.40.2%22,sp=signature\\u0026quality=small\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D206.796%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26requiressl%3Dyes%26gir%3Dyes%26fvip%3D1%26expire%3D1525639262%26mime%3Dvideo%252F3gpp%26key%3Dyt6%26ipbits%3D0%26lmt%3D1524613263245690%26itag%3D36%26mt%3D1525617522%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26clen%3D5695363%26ip%3D201.75.228.145%26fexp%3D23724337%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ\\u0026itag=36\\u0026s=6F6F06F03E6ADDBD5A43643A1A903FBC0B3F71C279BDA.B5345278483D15920CA21C59A5C2894FFC8364B6B6\\u0026type=video%2F3gpp%3B+codecs%3D%22mp4v.20.3%2C+mp4a.40.2%22,sp=signature\\u0026quality=small\\u0026url=https%3A%2F%2Fr2---sn-oxunxg8pjvn-j29e7.googlevideo.com%2Fvideoplayback%3Fdur%3D206.796%26initcwndbps%3D396250%26pl%3D21%26source%3Dyoutube%26requiressl%3Dyes%26gir%3Dyes%26fvip%3D1%26expire%3D1525639262%26mime%3Dvideo%252F3gpp%26key%3Dyt6%26ipbits%3D0%26lmt%3D1524613259315388%26itag%3D17%26mt%3D1525617522%26mv%3Dm%26ms%3Dau%252Crdu%26mm%3D31%252C29%26mn%3Dsn-oxunxg8pjvn-j29e7%252Csn-bg0e7n7d%26c%3DWEB%26id%3Do-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U%26clen%3D2025409%26ip%3D201.75.228.145%26fexp%3D23724337%26sparams%3Dclen%252Cdur%252Cei%252Cgir%252Cid%252Cinitcwndbps%252Cip%252Cipbits%252Citag%252Clmt%252Cmime%252Cmm%252Cmn%252Cms%252Cmv%252Cpl%252Crequiressl%252Csource%252Cexpire%26ei%3D_hPvWtXeIImjxASa3JuICQ\\u0026itag=17\\u0026s=B2B2CB2C034C4C477DADF1FF7874DA53B4E05BADA326E.DC4FC56FFF52867A3E65F7F87B08866182488B1616\\u0026type=video%2F3gpp%3B+codecs%3D%22mp4v.20.3%2C+mp4a.40.2%22',
)

E no final, tenho esses 5 links de 5 qualidades diferentes:

 

array (
  22 => 
  array (
    'url' => 'https://r2---sn-oxunxg8pjvn-j29e7.googlevideo.com/videoplayback?dur=206.773&initcwndbps=396250&pl=21&source=youtube&ratebypass=yes&mv=m&ms=au%2Crdu&mm=31%2C29&requiressl=yes&mn=sn-oxunxg8pjvn-j29e7%2Csn-bg0e7n7d&c=WEB&ipbits=0&fvip=1&id=o-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U&expire=1525639262&mime=video%2Fmp4&key=yt6&ip=201.75.228.145&mt=1525617522&lmt=1524616680905595&fexp=23724337&sparams=dur%2Cei%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ei=_hPvWtXeIImjxASa3JuICQ&itag=22&signature=1C76378EDA89ED9ACACE3C44AF56F85461F4CCFE.3EDE46C81594E50AAD7FA86411149424EF2EACD8',
    'format' => 'MP4 720p (HD)',
  ),
  43 => 
  array (
    'url' => 'https://r2---sn-oxunxg8pjvn-j29e7.googlevideo.com/videoplayback?dur=0.000&initcwndbps=396250&pl=21&source=youtube&ratebypass=yes&requiressl=yes&gir=yes&fvip=1&expire=1525639262&mime=video%2Fwebm&key=yt6&ipbits=0&lmt=1524619514746879&itag=43&mt=1525617522&mv=m&ms=au%2Crdu&mm=31%2C29&mn=sn-oxunxg8pjvn-j29e7%2Csn-bg0e7n7d&c=WEB&id=o-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U&clen=22386160&ip=201.75.228.145&fexp=23724337&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ei=_hPvWtXeIImjxASa3JuICQ&signature=4F9E5986A32FEC587D4202CAF7F9ACC1A35C649A.768A318A1C25AF5E776B7A0F4354CEFBDCDCCD9C',
    'format' => 'WebM 360p',
  ),
  18 => 
  array (
    'url' => 'https://r2---sn-oxunxg8pjvn-j29e7.googlevideo.com/videoplayback?dur=206.773&initcwndbps=396250&pl=21&source=youtube&ratebypass=yes&requiressl=yes&gir=yes&fvip=1&expire=1525639262&mime=video%2Fmp4&key=yt6&ipbits=0&lmt=1524616369334936&itag=18&mt=1525617522&mv=m&ms=au%2Crdu&mm=31%2C29&mn=sn-oxunxg8pjvn-j29e7%2Csn-bg0e7n7d&c=WEB&id=o-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U&clen=18471872&ip=201.75.228.145&fexp=23724337&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cexpire&ei=_hPvWtXeIImjxASa3JuICQ&signature=8C7C868E05694F249085D3D5614829716523CF06.5EEA20400B72CE2F36C82A7A10AEA3E8B9CD7343',
    'format' => 'MP4 360p',
  ),
  36 => 
  array (
    'url' => 'https://r2---sn-oxunxg8pjvn-j29e7.googlevideo.com/videoplayback?dur=206.796&initcwndbps=396250&pl=21&source=youtube&requiressl=yes&gir=yes&fvip=1&expire=1525639262&mime=video%2F3gpp&key=yt6&ipbits=0&lmt=1524613263245690&itag=36&mt=1525617522&mv=m&ms=au%2Crdu&mm=31%2C29&mn=sn-oxunxg8pjvn-j29e7%2Csn-bg0e7n7d&c=WEB&id=o-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U&clen=5695363&ip=201.75.228.145&fexp=23724337&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&ei=_hPvWtXeIImjxASa3JuICQ&signature=2F03E6ADDBD5A43643A1A903FBC0B3F71C279BDA.B5345278483D15920CA61C59A5C2894FFC8364B6',
    'format' => 'Unknown',
  ),
  17 => 
  array (
    'url' => 'https://r2---sn-oxunxg8pjvn-j29e7.googlevideo.com/videoplayback?dur=206.796&initcwndbps=396250&pl=21&source=youtube&requiressl=yes&gir=yes&fvip=1&expire=1525639262&mime=video%2F3gpp&key=yt6&ipbits=0&lmt=1524613259315388&itag=17&mt=1525617522&mv=m&ms=au%2Crdu&mm=31%2C29&mn=sn-oxunxg8pjvn-j29e7%2Csn-bg0e7n7d&c=WEB&id=o-AO2gD_omAfnTRgBt8oov-k8NGdOFUEnIZrYdocruXg2U&clen=2025409&ip=201.75.228.145&fexp=23724337&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cexpire&ei=_hPvWtXeIImjxASa3JuICQ&signature=52C034C4C477DADF1FF7874DA53B4E05BADA326E.DC4FC56FFF52867A3E6BF7F87B08866182488B16',
    'format' => '3GP 144p',
  ),
)

Alguém poderia me ajudar? Obrigado.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • By Motta
      Microsoft libera curso grátis para aprender a programar em Python
    • By TeixeiraRamos
      Prezados,
      Desculpe caso não esteja no local correto para essa postagem.
      a) Gostaria que o vídeo "mp4" responsivo (PHP 7, Bootstrap 4), não focasse com a tela preta. É possível manter uma imagem antes de iniciar?
      b) Ao abrir a página index.php o vídeo inicia antes de clicar play isso é um erro. Como corrigir
      Código:
      <!--Início video médicos sem fronteiras--> <div class="col-md-6"> <div class="card flex-md-row mb-4 shadow-sm h-md-250"> <div class="card-body d-flex flex-column align-items-start"> <div class="embed-responsive embed-responsive-16by9"> <iframe class="embed-responsive-item" src="img/medicos-sem-fronteiras.mp4" allowfullscreen align-self-center> </iframe> </div> </div> </div> <div class="card-body d-flex flex-column align-items-start m-10 align-self-center"> <img src="img/logo-medicos-sem-fronteiras.png" alt="Médicos sem Fronteiras"> </div> </div> <!--Fim início video médicos sem fronteiras--> Obrigado
    • By Mano Reis
      Tenho tido alguns erros (travamento, pulos, etc) ao executar videos e não sei qual o formato mais seguro para evitar isso.
      Existe algum formato que cria com CRC?
      Obrigado.
    • By Gsn99
      Olá!
       
      Alguém conhece algum programa que faz cortes em vídeos com essa função?  -> Nós usuários que escolhemos quantas vezes o video deve ser cortado, adicionando apenas o número de vezes que deve o vídeo ser cortado, em várias tamanho uniformes que se ajustam de acordo com o número de vezes que foi inserido pelo usuário. Obrigado pela atenção.
       
       
      Hello!

      Someone know of some program that make cuts in videos with this funccion ? -> We users that will choice how many times  the video must be cut, adding just a number of times that it must be cut. Example: The user choice 3 times and then the program devide the video in three parts with length uniform. I Apologize you about my English.
      Thank you.
    • By cesarturmina
      Boa noite a todos ! 
      Estou com um problema um pouco complicado..
      Estou criando um LoadScreen em um game, e estou utilizando um video.mp4
      No Index.html e no Style.css a PRINCIPIO esta tudo correto.
      Quando vejo o video no navegador, ele reproduz normal, com audio e tudo, porém fica uma faixa branca em cima e quando o mouse fica passa por cima, ele pausa a musica. O index.jv ta com um comando de Hover play() e pause ()
       
      Se alguem puder me ajudar, o intuito é somente utilizar ele para dar o play no video e pronto ! até terminar o load do game.
       
      Segue linha de comando : 
      var figure = $(".video").hover( hoverVideo, hideVideo ); function hoverVideo(e) { $('video', this).get(0).play(); } function hideVideo(e) { $('video', this).get(0).pause(); }  
       
×

Important Information

Ao usar o fórum, você concorda com nossos Terms of Use.