Using iframe goes haywire


#1

OS: Arch Linux
Browser: Peruse 0.6.0 webId-Builds
URL: safe://yropeen.yro2/#/whynot/english

I tried embedding a youtube video into my page the way it’s recommended on w3schools:

EnglishPage.vue

...
<iframe width="420" height="315"
src="https://www.youtube.com/watch?v=KYxU2vwCi38">
</iframe>
...

What happens is that Peruse opens the youtube video over and over again if accessed via the dropdown menu or just reloads it page without doing anything if accessed directly.


#2

Otherwise: You cannot open HTTP/S links in Peruse. They will (currently) trigger your default browser to open. (That said it should not be doing so continuously).

What version of Peruse are you using?

(Please provide such details as Peruse version and OS with any issues you’re having, it helps with debugging).

There was an issue similar to this in the master branch of Peruse. If you’re on the webId POC build, then that fix should be present.


#3

You cannot open HTTP/S links in Peruse.

Would it be better to upload the youtube video then?

If you’re on the webId POC build

Is the POC build included with a dev version?
I like having a mock version of Peruse.

[edit]

The POC build does not fix this issue.


#4

Uploading to youtube wont help as that’s still HTTP/S, so you still wont be able to use them in Peruse…

https://github.com/maidsafe/safe_browser/releases/tag/peruse-browser-0.7.0 This is a more advanced version on the POC and is available in dev version also


#5

I meant uploading the youtube video to the SAFE network.


#6

Well yes, that would then be pulling from the safe network.

I’m not sure if just putting that as the src in an iframe will work though. I think you want an html5 video type element.