What's new

Welcome to the forum 👋, Visitor

To access the forum content and all our services, you must register or log in to the forum. Becoming a member of the forum is completely free.

Multiple Video links targeting one iframe

Raabi

New member
Joined
Aug 21, 2021
Messages
2
Reaction score
0
HTML Coins
0
Hello everybody!
This is my 1st post.

I have 5 video links, to different videos, on my Web page; like
video 1 link
video 2 link
----
----
video 5 link

I have one iframe, on the same Web page as the links;
<iframe name="VidFrame" width="800px" height="450px"
src="????" frameborder="0" allowfullscreen>
</iframe>"

I want that; if a user clicks any of the links, that particular video should show up in the "VidFrame" iframe.

Regards
 
Still desperate for the solution. I got some success, with the following code. It works fine on the local PC, but on the Website, the links download the videos, instead of displaying in the target iFrame.

<p><a id="Genome" target="VidFrame" href="Videos/Genome.mp4">
Human Genome</a></p>
<p><a id="KKC" target="VidFrame" href="Videos/KKC.mp4">
Keep Karachi Clean</a></p>
<p><a id="Nutrition" target="VidFrame" href="Videos/Food_N_Health_Part_01.mp4">
Food and Health</a></p>
----------------------------------------------------------------------------------------------------------
<div class="iFrame" style="text-align: center">
<iframe name="VidFrame" width="800px" height="450px"
src="Videos/index.html" frameborder="0" allowfullscreen>
</iframe>
</div>

Help is desperately requested.
 

Theme customization system

You can customize some areas of the forum theme from this menu.

  • Wide/Narrow view

    You can control a structure that you can use to use your theme wide or narrow.

    Grid view forum list

    You can control the layout of the forum list in a grid or ordinary listing style structure.

    Picture grid mode

    You can control the structure where you can open/close images in the grid forum list.

    Close sidebar

    You can get rid of the crowded view in the forum by closing the sidebar.

    Fixed sidebar

    You can make it more useful and easier to access by pinning the sidebar.

    Close radius

    You can use the radius at the corners of the blocks according to your taste by closing/opening it.

  • Choose the color combination that reflects your taste
    Background images
    Color gradient backgrounds
Back