Home > OS >  How Find Intent video link in android
How Find Intent video link in android

Time:07-31

how to find intent video id link for external video player

<div  style="align-items: center; font-family: sans-serif; height: auto; justify-content: center; margin: 0px auto; position: relative;">
  <div style="align-items: center; background-color: #cccccc; display: flex; float: left; height: 100px; justify-content: center; margin: 3.76705px; position: relative; width: 116.898px;">
    <a href="intent://=#Intent;scheme=xmtv;package=co.wuffy.player;end"><img height="120" src=" /></a>
  </div>
</div>

CodePudding user response:

You mean this?

I had to add a " to your img src

console.log(document.querySelector(".box-container div a").href)

// OR

console.log(document.querySelector("a[href^=intent]").href)
<div  style="align-items: center; font-family: sans-serif; height: auto; justify-content: center; margin: 0px auto; position: relative;">
  <div style="align-items: center; background-color: #cccccc; display: flex; float: left; height: 100px; justify-content: center; margin: 3.76705px; position: relative; width: 116.898px;">
    <a href="intent://=#Intent;scheme=xmtv;package=co.wuffy.player;end"><img height="120" src="" /></a>
  </div>
</div>

  •  Tags:  
  • html
  • Related