且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

点击页面上的链接加载javascript

更新时间:2023-12-03 07:57:28

document )。on(' ready' function (){
(document).on('ready', function () {


(getElementByClass(' .mSIcon.mSVideo'))。触发器(' click');
)};
< / script>
(getElementByClass('.mSIcon.mSVideo')).trigger('click'); )}; </script>



播放按钮位于
$ b链接中$ b

为什么这不起作用?该网站是 http://smmcnyc.com/work/smmc/smmc1306/ [ ^ ]



我还需要要播放的视频,以及第一个视频结束后,第二个视频开始播放。知道如何解决这个问题吗?


The play button is in the link

Why is this not working? The site is http://smmcnyc.com/work/smmc/smmc1306/[^]

I also need the videos to cycle, and after the first video ends, for the second video to start. Any idea how to solve this as well?


浏览器永远不会允许脚本定位从不同于其自身的源加载的元素。
The browser will never allow a script to target an element that is loaded from a different source than itself.