Impossível ter tela cheia do vídeo. É necessária a tag HTML?

Hi. I can’t have full screen on my videos from PeerTube. I put them on Mastodon and they take full screen, but not at Discourse.

I have written to the PeerTube admin from my PT instance and he told me that couldn’t find the fullscreen tag from the iframe at the video. The video is this one.

When I try to insert the video with an iframe code, there’s nothing at the space where the video should be. Remains empty. So, a question here too: the HTML iframe doesn’t works at Discourse, only Markdown? Or maybe I do it wrong? I take only the code from PeerTube to insert and paste it on the Discourse editor.

I have tried a lot of times with other instances of PeerTube. The result was the same. So, if the problem happens at Discourse (at Mastodon doesn’t), there is a way to have fullscreen at Discourse, maybe in a way I don’t know? Or I have to insert the video with a different language, not Markdown?.. I don’t know what to do more… Can you help me?

Did you add the origin URL to the setting allowed iframes ?

Obrigado, @Falco. Consegui agora:


E, em seguida, removi o símbolo *. O mesmo resultado…

I tried to do it with Vimeo this time. I have no full screen either… :worried:

The iframe, more elaborated, doesn’t work. The link to the video, pure and simple, doesn’t show the fullscreen option. I don’t know, there are any video platform where you can have full screen at your videos? (Not YouTube, please).

It can be that is still not working this code at Discourse Core?

The issue I’m asking was commented here, or similar:

Let’s try the standard Vimeo share code:

Looks ok to me :thinking:

And what do you see here? I can’t do fullscreen at my Discourse. Can you do it here?

Wow! Here is possible, at my forum, it isn’t. What the hell? And is wider at my forum too. Occupies all the “channel” of text (I don’t remember -or maybe know- now what name can be that). Here is the half or less than there.

What could be the mistake? It’s me, can be something at the forum? I did already the “allowed iframes” issue, but I don’t use the iframe code, only the normal link to share.

Edited 2019-10-31T23:00:00Z

There are no thoughts to solve it?

Tenho o mesmo problema, no entanto, meu caso pode ser diferente do @aldobelus.
Em nosso ambiente, o Discourse faz parte de um portal maior, que carrega cada componente em um iframe.

  • O botão de tela cheia existe se eu abrir o site diretamente em uma nova aba.
  • O botão de tela cheia está ausente se eu abrir o site em um iframe. Em vídeos incorporados, é como se fosse um iframe dentro de outro iframe.

O vídeo em si está disponível e reproduzível em ambos os casos.

Alguém tem uma ideia do que poderia ser o problema e como solucionar?

Não damos suporte à execução do Discourse dentro de um iframe. Tecnicamente, você pode fazer isso, mas isso acaba se tornando uma bagunça estranha.

Obrigado pela sua resposta e contribuição — estou 100% com você, sem dúvida.
No entanto, se houver uma opção nas configurações que permita executar o Discourse em um iframe, nossos clientes frequentemente perguntam por que isso e aquilo não estão funcionando mais e geram trabalho desnecessário para depurar coisas que NUNCA funcionarão. Não me entenda mal, não estou discutindo isso com você de forma alguma e vejo da mesma maneira que você.

Minha sugestão seria adicionarmos uma nota ao lado de “permitir incorporação do site em um iframe” nas configurações, informando que esse recurso não é recomendado e/ou não tem suporte — ou algo assim.

Vocês (pessoal) veem da mesma maneira? Qual é a sua opinião sobre isso?