Jump to content

Audio in unidbgrid not work


VolkovVitalD

Recommended Posts

5 hours ago, VolkovVitalD said:

Strange behavior of the "audio" tag inside a table cell. The example is in the attachment.

Test_UniGUI_AudioInGrid.rar 1.86 MB · 1 download

Well, you gave us a task for attentiveness...

You forgot that your files have leading zeros!

Here is the correct format for your current case:

FDMemTable1audio.Value := Format('<audio controls><source src="files/Alarm%.*d.wav" type="audio/wav"></audio>', [2, I]);

 

Link to comment
Share on other sites

I'm sorry for wasting your time. I worked late. There is an error in my project, I immediately decided to make a test example, got a result similar to my error and did not check the obvious things. Thank you for such attentive support!

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...