doumin4553 2019-04-19 20:30
浏览 143

iframe youtube视频会自动刷新

I have created a newsfeed of different social media sites https://bdranking.com When a user scrolls down it shows 5 new posts. Unlike Instagram and Twitter, it automatically refreshes all the iframe youtube videos when a user scrolls down. The channel title, profile picture, comments, and likes count, etc remains the same because they are already in my database. Just the iframe video refreshes. I have used the same codes on Twitter, Instagram, and youtube, so I guess nothing is wrong with that, It's just the iframe.

Can anyone suggest why?

<div class="embed-responsive embed-responsive-16by9">
  <iframe class="embed-responsive-item" src="https://www.youtube.com/embed/<?php echo $row['Code']; ?>?rel=0" allowfullscreen></iframe>
</div>

</div>
  • 写回答

0条回答 默认 最新

    报告相同问题?

    悬赏问题

    • ¥50 汇编语言除法溢出问题
    • ¥65 C++实现删除N个数据列表共有的元素
    • ¥15 Visual Studio问题
    • ¥15 state显示变量是字符串形式,但是仍然红色,无法引用,并显示类型不匹配
    • ¥20 求一个html代码,有偿
    • ¥100 关于使用MATLAB中copularnd函数的问题
    • ¥20 在虚拟机的pycharm上
    • ¥15 jupyterthemes 设置完毕后没有效果
    • ¥15 matlab图像高斯低通滤波
    • ¥15 针对曲面部件的制孔路径规划,大家有什么思路吗