2 amoun Jun 03, 2021 12:03

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.
So your ok with just adding the url ? or you still want a short code :)
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)
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>