02-21-2022, 10:44 AM
(This post was last modified: 02-21-2022, 10:45 AM by OneAngryGamer.)
I'm trying to display an image (local store) in HTML with a frame surrounding the image and when you click this image, it should open a video (local store) (the video will be played by the default video player for your PC)
If I abuse <iframe, I get:
But if I use <a href= and img src I get:
Only 2 of 3 achieved.
Desired solution is to achieve all 3 outcomes. Image must remain as a file so no embedding the image as base64 content.
Any suggestions?
If I abuse <iframe, I get:
- Displays image = False
- Displays a frame/border around the image = True
- Clicking the image will open video file (played using an external player) = True
But if I use <a href= and img src I get:
- Displays image = True
- Displays a frame/border around the image = False
- Click the image will open video file (played using an external player) = True
Only 2 of 3 achieved.
Desired solution is to achieve all 3 outcomes. Image must remain as a file so no embedding the image as base64 content.
Any suggestions?