1 poorboy2 Jun 03, 2021 00:17
3 poorboy2 Jun 04, 2021 01:30
iframes suck.
What I mean is the same thing we already have for Youtube and Vimeo. There are shortcodes for those but I also noticed simply adding a youtube video url will pull the video in without having to use the shortcode.
4 amoun Jun 04, 2021 08:22
So your ok with just adding the url ? or you still want a short code :)
5 poorboy2 Jun 19, 2021 01:58
My desire is for the video to be embedded on my web page without an iframe which is different than embed or Oembed(the open source media embedding tech)
6 amoun Jun 21, 2021 10:30
Ok Still looking at this.
So you can embed with the full js code but you just want quick tag.
<script>!function(r,u,m,b,l,e){r._Rumble=b,r[b]||(r[b]=function(){(r[b]._=r[b]._||[]).push(arguments);if(r[b]._.length==1){l=u.createElement(m),e=u.getElementsByTagName(m)[0],l.async=1,l.src="https://rumble.com/embedJS/u4"+(arguments[1].video?'.'+arguments[1].video:'')+"/?url="+encodeURIComponent(location.href)+"&args="+encodeURIComponent(JSON.stringify([].slice.apply(arguments))),e.parentNode.insertBefore(l,e)}})}(window, document, "script", "Rumble");</script>
<div id="rumble_vg1qt5"></div>
<script>
Rumble("play", {"video":"vg1qt5","div":"rumble_vg1qt5"});</script>
Do you mean a plugin as I would have thought you could use the <embed> or <object> tag etc.
This works fine:
<iframe src="https://rumble.com/embed/vfbjs7/?pub=4"> </iframe>