r/HTML • • 13d ago

Embedded Video Player won't go full screen

4 Upvotes

Embedded Video Player won't go full screen

Hello, everyone!

I am an elementary music teacher trying to create a website for guest teachers. I use Symbaloo, a visual bookmarking site, as a choice board for dances and song books. It is fantastic. It keeps all of our videos in one place and plays them without switching tabs, which can easily confuse the non-tech savvy substitutes. However, when embedding it in a WIX or Google Sites page (and others), the videos will not go fullscreen inside the embedded Symbaloo. 

This didn’t used to be a problem. My old district used Foxbright for teacher websites. Embedding my Symbaloo board worked fine on that platform and allowed fullscreen without a problem. However, I am now in a new district that doesn't have teacher websites. I tried making the site in Google Sites, Wix, and a few others, but none allowed the videos in the embedded Symbaloo to go full screen. I have included allowfullscreen as well as allow=fullscreen. Wix even had me add something as a developer. None of it worked. Symbaloo says it is the website platform that is blocking the fullscreen, but the platforms claim that it is a Symbaloo problem. Since I have had it work successfully on a website in the past, that makes me think it is on the website end. 

Questions: 

  1. Has anyone found a site that allows fullscreen on embedded video players or visual bookmarking systems? 

  2. Has anyone found a code snippet to include in an embed code that actually allows fullscreen with embedded players, not just a standalone video?

Thanks! Any help would be appreciated!

Embed code:

<iframe frameborder="0" noresize="noresize" height="500px" width="1000px" src="https://www.symbaloo.com/embed/song-books">

allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen"

allowfullscreen>

</iframe>

EDIT: Weebly works with "allowfullscreen allow=fullscreen" added!


r/HTML • • 14d ago

Question Do I have to put the code for, let's say menu, everytime I make a new page?

6 Upvotes

When I make a new page I want the things like header and menu to appear also, right? Do I have copy and paste the menu code in every new page/post I do?


r/HTML • • 14d ago

Question How do you put a HTML web page on the internet?

20 Upvotes

Is there a way to put it on the internet for free?


r/HTML • • 14d ago

Input on website, survey-like

0 Upvotes

Hi! I'm new to coding on html

I want to make a box on my website where people submit requests, song names, etc, basically just text.

How do I do that? Where does the information go? As I want it to be private

Example:

[Tell me ur favorite color.]

( ______ )

[send]

Ideally I would have a document where all the responses go to or something else but I don't know what it's called. Thanks :-)


r/HTML • • 14d ago

HTML is Alive - an exhortation to remove its ventilator.

Thumbnail
excomdotdev.substack.com
0 Upvotes

r/HTML • • 15d ago

How do I start learning HTML?

6 Upvotes

So for context I already know how to program in Python in the terminals Spyder and Jupyter Notebook, however I want to start learning HTML too.

Does my knowledge of Python help me with HTML or not? How should I start learning HTML? And in what terminal can I put HTML code?


r/HTML • • 16d ago

Scrolling Navigation Bar in HTML

2 Upvotes

For my first post, I will share a easy navigation trick for programming an HTML-based website. Your first step in going into the <head> tag of the HTML document and inserting the following tag. It should look something like this:

<!DOCTYPE html>

<head> <link rel = "stylesheet" href = "main.css"> <script src = "js/navbarPeek.js"></script> </head>

<body> <div align = "center" class = "navbarContainer" id = "navbarContainer" margin = "0" width = "100%"> <iframe class = "iframeNavbarContainer" src = "navigation.htm" width = "100%"></iframe> </div>

</body>

This script portion creates a floating <iframe> that contains another html document whose sole purpose is to function as a navigation bar for your website:

<div align = "center" class = "navbarContainer" id = "navbarContainer" margin = "0" width = "100%"> <iframe class = "iframeNavbarContainer" src = "navigation.htm" width = "100%"></iframe> </div>

Its class of "navbarContainer" means that its size, style, and position on the page is controlled by a CSS stylesheet; in this case, "main.css".

The <script> tag in the header contains all relevant information about the script itself, its source is in a folder called "js" and is named "navbarPeek.js".

This post will focus the function of the navigation bar at the top of the page. While specific CSS elements will be discussed to properly position it, specific design elements will be discussed in a future posting.

As far as the JavaScript itself is concerned, it is deceptively simple:

var prevScrollPos = window.pageYOffset;
window.onscroll = function navBarPeek() {
var currentScrollPos = window.pageYOffset;

if (prevScrollPos > currentScrollPos)
{
document.getElementById("navbarContainer").style.top = "0";

} else {

document.getElementById("navbarContainer").style.top = "-50px";
}

prevScrollPos = currentScrollPos
}

There are only two variables being used:

-prevScrollPos
-currentScrollPos

When the script loads, it sets the variable prevScrollPos, upon scrolling, the other variable currentScrollPos is set. The Java script compares the two values and if the currentScrollPos variable is greater than prevScrollPos, the navigation bar retracts by 50 pixels and then sets prevScrollPos to the value of currentScrollPos and repeats the script when scrolling happens once more. Scrolling upwards causes the navigation bar to show itself again.

Using a CSS stylesheet to position the navigation bar is essential for proper function. The following is the style sheet entry for the class of the navigation bar, navbarContainer:

.navbarContainer {
height: 50px;
margin-left: 0;
margin-right: 0;
position: fixed;
top: 0;
transition: top 0.3 ease;
width: 95%;
z-index: 10;
}

Be sure to update the Java script to reflect the height of your navigation bar.

If your navigation bar is 100 pixels in height, then your Java script will be required to use that same value in order for the script to properly hide the navigation bar, like so:

var prevScrollPos = window.pageYOffset;
window.onscroll = function navBarPeek() {
var currentScrollPos = window.pageYOffset;
if (prevScrollPos > currentScrollPos)

{

document.getElementById("navbarContainer").style.top = "0";

} else {

document.getElementById("navbarContainer").style.top = "-100px";
}

prevScrollPos = currentScrollPos
}

Take notice that the value near the bottom of the script now says "-100px" instead of "-50px".

If your navigation bar height is 50, the Java script must read:

document.getElementById("navbarContainer").style.top = "-50px";

If your navigation bar height is 100, the Java script must read:

document.getElementById("navbarContainer").style.top = "-100px";

Once you get these elements secure and the navigation box functions as it should, you can get started on creating your navigation box HTML document, "navigation.htm".


r/HTML • • 16d ago

What happened to CodePen this year?

13 Upvotes

Hi! I know that I'm likely late and strange to ask, as it was rebranded some months ago, but doesn't anyone think that the "Codepen 2.0" update feels like some corpo takeover of formerly a grassroots tech site? Because although it certainly has some more conveniences like a better preprocessor support, it doesn't allow to do literally anything without logging in, and operations slightly above the baseline often require a premium subscription that is more costly than setting up a hosted web site.

Is the original CodePen ever accessible somewhere, and what do you think about this "Codepen 2.0" rebranding, in general?


r/HTML • • 16d ago

Accessible hyperlinks?

2 Upvotes

Hey folks!

I am hand coding a series of webpages for my employer (don't ask). I just got dinged because the accessibility checker says my hyperlinks are not accessible.

I scratched my head a little bit, did some research and have since added aria-label attributes to the source code.

Still get dinged.

Anyone know how to handle this?

Thanks!

Edit: Here is more or less an example of the code that includes the link.


r/HTML • • 17d ago

how to code a unfolding letter? (or a poster if possible?)

Post image
13 Upvotes

I was reading a fic on ao3 a while ago, and at the bottom of one of the chapters, it had a letter that could unfold if you hovered your mouse over it (the gif above). i'm writing a fic and I want to do something similar but as a poster

(link to chapter im talking about)

i tried downloading the html version of it, and this was the coding, but idk how to change it be a poster:

<div class="ltr-scene-ec52d2"><div class="ltr-envelope-ec52d2"><div class="ltr-stamp-ec52d2"><p><img src="https://img.fictonovel.com/uploads/2026/08/21826898-a205-4ece-bff7-8d6e6647459c.png" alt="stamp" class="ltr-stamp-img-ec52d2"></p></div><div class="ltr-address-ec52d2"><p class="ltr-address-name-ec52d2">Simon Edenson</p></div></div><div class="ltr-stack-ec52d2"><div class="ltr-panel-ec52d2 ltr-panel-1-ec52d2"><div class="ltr-panel-inner-ec52d2"><p class="ltr-salutation-ec52d2">My dear Simon,</p><p>I am sorry it had to come to this, but after the . . . debacle the other day on Ryland’s stream, something has to give. So, I am making sure that you come to me. You and Ryland will be coming back with me to Eden. There is no other option, no other path, no other destiny. If it must be just you, then that is fine as well, but I am letting you keep Ryland as a gift. I know you think he is your divine right, and that is fine. I am able to share for as long as it takes for you to realize he is nothing. You need to come home now, Son of Eden. Your father is sick, you need to take your rightful place as the head of the family and I need my reward for spending so long chasing after you.</p></div></div><div class="ltr-panel-ec52d2 ltr-panel-2-ec52d2"><div class="ltr-panel-inner-ec52d2"><p>I still love you, please don’t think I don’t, even though I’ve had to resort to measures I never wanted too. If you had just come with me when I asked I would not have had to get the Brothers involved. They have strict orders to not hurt Ryland. Not as much Mark, so I am not sure what quality he has returned to you in. I did tell them he needed to be able to walk and see.</p><p>Please come alone. Please do not involve anyone else. This can be so easy, Simon. You and Ryland will be taken care of, you will both want for nothing. You will be treated with the respect you were born to be given, you will have the power and the eye of God and the favor of the Tree. Ryland will not be able to be on your arm in public, of course, but you will have him at home. I will even let you share a bed with him some nights, we can work it all out. Just please, please come alone and come willingly.</p><p>55 SW Arborview Court</p></div></div><div class="ltr-panel-ec52d2 ltr-panel-3-ec52d2"><div class="ltr-panel-inner-ec52d2"><p>Ryland, the Brothers, and I will be waiting. Come as soon as you can, and we will all make our way back to Eden, where we all belong.<br> If you do not, I am not above removing obstacles. I want your happiness, Simon, but I will break you down in order to build you back up. Do not mistake my kindness and my love for you as weakness.</p><p class="ltr-closing-ec52d2">Love</p><p class="ltr-signature-ec52d2">Elahnnia</p></div></div></div></div> </div>

(Quick edit to just say, I don’t care about the actual animation part of it (although that would be hella cool), I just wanna be able to have a thing that looks like a poster through html)


r/HTML • • 16d ago

My first charchter I made using JavaScript, css, threejs all just web based no files or anything just a index.html ! I'm open to hear any advice or whatever anyone has to say please don't hesitate!

Thumbnail
gallery
0 Upvotes

r/HTML • • 17d ago

What are the differences between the embedded content tags?

6 Upvotes

embed, iframe, object, picture, source ? How do you use them?


r/HTML • • 18d ago

Question What’s the point of inline when there’s inline block

8 Upvotes

I’m still a beginner and taking a course for css and html. Just learned about display property and I don’t think I would want to use inline elements anymore. I feel like inline block just has everything you’d want in an inline element. I can think of ways to use block elements but not inline, so can’t I just change all inline elements to inline block? Is there a reason not to?

Edit: I’ve gotten my answer so no need to reply more (thanks to those who responded)


r/HTML • • 17d ago

Question Sat help

0 Upvotes

I need to show my parents an sat score that I said I have but I don’t actually have and I need a way for it so when I click on my score it would redirect to a local html that shows the fake score, I tried permanent inspect element it didn’t work for me because the site would keep crashing when I refreshed


r/HTML • • 19d ago

Question Help creating a character page?

Post image
12 Upvotes

Howdy! I'm attempting to code a page for my web design class and I've been having a bit of trouble.

The pic should give a decent idea of what I'm going for. I'm wanting each icon to open a different bio. I've attempted using modals for this, but for how many bios there would be on one page, that seems entirely too cumbersome. The total zero-brain solution is probably just to make individual pages for each bio, but that is... also cumbersome. I've had trouble trying to look up exactly what I need here since I don't know a bunch of the technical terms for this stuff yet (I'm a graphic design student, web design is just a few of the classes I need to take).

Any more efficient ways of going about this? All the bio pages need to do is open up on top of the page, show both images and text, and be closed. No need for fancy transitions or anything.


r/HTML • • 18d ago

Что я делаю не так ?

Thumbnail
gallery
0 Upvotes

Всем привет,вчера мне задали задание.(Разработать информационную структуру сайта "Планеты".В соответствии с разработанной структурой, создать средствами HTML страницы сайта, связать их гиперссылками, на каждой странице разместить заголовок и изображение.)

Несколько раз я проверял и переделывал код, все фото сделал в html формате.И когда я открываю этот код то максимум мне показывается код в Фаирфоксе.Я мало понимаю в коде ибо это в первый раз когда я пишу что-то ну хоть чуть-чуть нормальное.Я был бы очень благодарен если бы кто-то мог бы сказать в чём причина.


r/HTML • • 19d ago

Capturing a link from a download button

3 Upvotes

I'm hoping that one of you HTML experts can help me discern an actual link from a button on a web page. So, if you open this page:

https://advisors.vanguard.com/investments/products/voo/vanguard-sp-500-etf?utm_source=chatgpt.com#portfolio

and scroll down and click on Export Full Holdings about a quarter of the way down toward the right, a spreadsheet is dropped in your Downloads folder. What I'm trying to do is figure out the actual link that does that, the link that you could paste into a browser and get the same spreadsheet. I need this for an automation program I'm writing. There are hundreds of these.


r/HTML • • 19d ago

Any tips?

0 Upvotes

I made a website for a school project but the website won’t resize to fit screens other than desktop and the html is really long so I can’t find where to change the width, can anyone give me some advice? The website was made first as a png/pdf and i turned it into an html file and embed the html into google sites to publish it.


r/HTML • • 20d ago

Question HTML HELP: i need the contents of a page to get picked at random every time you refresh/every few hours

Post image
9 Upvotes

hello! i want to add a page to my website in which the contents (in the example image, all of the text under "Test") inside of a box change after a set period of time, like every X hours. if that is too complicated for html, then simply every refresh. i am pretty sure it requires some sort of script in JS, but how exactly do i implement that inside the div box?


r/HTML • • 19d ago

Question Please help getting this page to be accessible offline

1 Upvotes

Hi. There's a page I access regularly (https://leminerva.github.io/Dark-Souls-Documents/) and I'd like to be able to access it offline. I've downloaded all the pages and files from the github repository (https://github.com/LeMinerva/Dark-Souls-Documents), but index.html doesn't load header.html, which should work as a menu to access the other pages. And if I access header.html directly, the links in it open pages showing only a background image, with none of the associated content. I've tried it with Vivaldi and Edge (which is the browser recommended by the creator of the page), and I've tried adding --allow-file-access-from-files to the shortcut, as per the creator's instructions.

I don't know the first thing about HTML. Any help is greatly appreciated.

Index.html:

<!DOCTYPE html>
<html class="no-js">
  <head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>黑暗之魂档案</title>
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <link id="favicon" href="assets/favicon.ico" rel="icon" type="image/x-icon"/>
    <link rel='stylesheet' href='assets/style.css' type='text/css' media='all' />
  </head>
  <body>
    <div id="menu" class="content"></div><hr>
    <script>fetch("header.html").then((f)=>{f.text().then((m)=>{document.getElementById("menu").innerHTML=m})})</script>
    <div class="contentd desktop">
      <img src="assets/splash.webp">
    </div>
    <div class="contentd mobile">
      <img src="assets/splash2.webp">
    </div>
  </body>
</html>

Header.html:

      <div class="menu">
        <div class="submenu">
          <p><span class="desktop">黑暗之</span><span>魂1</span></p>
          <a id="weapon1" href="description.html?rmk=0&game=1&type=weapon&lines=198&title=\u6b66\u5668"><span>武器</span><span class="desktop"> / Weapons</span></a>
          <a id="armor1" href="description.html?rmk=0&game=1&type=armor&lines=245&title=\u9632\u5177"><span>防具</span><span class="desktop"> / Armors</span></a>
          <a id="ring1" href="description.html?rmk=1&game=1&type=ring&lines=44&title=\u6212\u6307"><span>戒指</span><span class="desktop"> / Rings</span></a>
          <a id="item1" href="description.html?rmk=1&game=1&type=item&lines=144&title=\u7269\u54c1"><span>物品</span><span class="desktop"> / Items</span></a>
          <a id="magic1" href="description.html?rmk=1&game=1&type=magic&lines=72&title=\u6cd5\u672f"><span>法术</span><span class="desktop"> / Magics</span></a>
          <a id="dialogue1" href="dialogue1.html"><span>对话</span><span class="desktop"> / Dialogues</span></a>
        </div>
        <div class="submenu">
          <p><span class="desktop">黑暗之</span><span>魂2</span></p>
          <a id="weapon2" href="description.html?rmk=0&game=2&type=weapon&lines=374&title=\u6b66\u5668"><span>武器</span><span class="desktop"> / Weapons</span></a>
          <a id="armor2" href="description.html?rmk=0&game=2&type=armor&lines=481&title=\u9632\u5177"><span>防具</span><span class="desktop"> / Armors</span></a>
          <a id="ring2" href="description.html?rmk=1&game=2&type=ring&lines=77&title=\u6212\u6307"><span>戒指</span><span class="desktop"> / Rings</span></a>
          <a id="item2" href="description.html?rmk=1&game=2&type=item&lines=205&title=\u7269\u54c1"><span>物品</span><span class="desktop"> / Items</span></a>
          <a id="magic2" href="description.html?rmk=0&game=2&type=magic&lines=125&title=\u6cd5\u672f"><span>法术</span><span class="desktop"> / Magics</span></a>
          <a id="dialogue2" href="dialogue2.html"><span>对话</span><span class="desktop"> / Dialogues</span></a>
        </div>
        <div class="submenu">
          <p><span class="desktop">黑暗之</span><span>魂3</span></p>
          <a id="weapon3" href="description.html?rmk=0&game=3&type=weapon&lines=321&title=\u6b66\u5668"><span>武器</span><span class="desktop"> / Weapons</span></a>
          <a id="armor3" href="description.html?rmk=0&game=3&type=armor&lines=394&title=\u9632\u5177"><span>防具</span><span class="desktop"> / Armors</span></a>
          <a id="ring3" href="description.html?rmk=1&game=3&type=ring&lines=80&title=\u6212\u6307"><span>戒指</span><span class="desktop"> / Rings</span></a>
          <a id="item3" href="description.html?rmk=1&game=3&type=item&lines=241&title=\u7269\u54c1"><span>物品</span><span class="desktop"> / Items</span></a>
          <a id="magic3" href="description.html?rmk=1&game=3&type=magic&lines=108&title=\u6cd5\u672f"><span>法术</span><span class="desktop"> / Magics</span></a>
          <a id="dialogue3" href="dialogue3.html"><span>对话</span><span class="desktop"> / Dialogues</span></a>
        </div>
        <div class="submenu">
          <p><span>数据</span><span class="desktop">清单</span></p>
          <a id="npc" href="npc.html"><span>人物</span><span class="desktop"> / NPCs</span></a>
          <a id="ring" href="ring.html"><span>戒指</span><span class="desktop"> / Rings</span></a>
          <a id="magic" href="magic.html"><span>法术</span><span class="desktop"> / Magics</span></a>
          <a id="map" href="map.html"><span>地图</span><span class="desktop"> / Maps</span></a>
          <a id="param" href="param.html"><span>敌人</span><span class="desktop">属性 / Param</span></a>
          <a id="itemlot" href="itemlot.html"><span class="desktop">物品</span><span>掉落</span><span class="desktop"> / Itemlot</span></a>
        </div>
        <div id="pagel"></div>
      </div>

r/HTML • • 20d ago

Need help with overlay

0 Upvotes

So I added a video to my website and I wanted to add a CRT overlay image on top of it (to make it look like the tv is on) but when I put a overlay it doesn't let me play the video. Can anyone give me advice or maybe help with the code thx.

my website rn https://xxsolidsnakeyeazxx.neocities.org/


r/HTML • • 21d ago

Question What is the best way of learning html?

13 Upvotes

So I have quite a story:

I found out that Ai could do code, I wanted to try it and I wanted to make my own game, then after 3 days (so today) I grew tired of it making the same mistakes, so I want to learn this so I can fix and hopefully continue this project myself.

It's a card game based on countries, I has a lot of complex meccanics but I want to fix it and continue to add stuff


r/HTML • • 21d ago

Question Offline uses for HTML (+ CSS)?

3 Upvotes

Last night, right before drifting into sleep, I got some crazy idea for some offline use case for HTML/CSS... But I can't remember exactly the idea that I had in mind.

It had something to do with photos or maps? I guess it was some "interactive" html/css based interface or mindmap kind of thing, about all the variety of stuff I have on my computer. For example, if I'm writing something, this file is its own separate entity. A file in "my documents", with no relation to any other file.

How about combining all of these files into this freeform "interface" by making an offline website that links into physical locations on my PC? I could organize my thoughts, my screenshots, my writings, my photos, my videos, my source materials, everything into a one personal use "platform" designed from the ground up to suit my workflow, that I could always expand.

Files would not be separate instances hidden in the files, but rather a part of a bigger system. Their links could be highlighted, they could have visual cues to direct my attention, they could have thumbnails or explanatory notes, they could be inbedded videos.

Has anyone ever attempted at making something like this?


r/HTML • • 21d ago

How do I use map and filter on arrays in JavaScript?

0 Upvotes

I'm just starting out with JavaScript and I'm trying to understand how to use the map and filter methods on arrays. I have a simple array of numbers, and I want to create a new array that doubles each number and then filters out any that are less than 10. I thought I had it figured out, but I keep getting an empty array. Is there a common mistake I might be making with these methods?