Playnite Forums
  • Playnite Web
  • Rules
  • Members
  • Team
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Playnite Forums Development Extensions Displaying local image file in HTML (image must link to local video file)

Displaying local image file in HTML (image must link to local video file)
OneAngryGamer Away

#1
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:
  1. Displays image = False
  2. Displays a frame/border around the image = True
  3. Clicking the image will open video file (played using an external player) = True
Only 2 of 3 achieved.

But if I use <a href= and img src I get:

  1. Displays image = True
  2. Displays a frame/border around the image = False
  3. 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?
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode