Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2312 มุมมอง

Hi there,
We've created a url field as below -

call_recording = fields.Char(string="Call Recording",tracking=True)

and we want to add an audio element in the view as below-



The above code displays a blank audio tag without src.
Any idea, how can we populate value of call_recording field inside the audio source?

Thanks 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Can't see the example you added...
As a guess you need to create a custom widget that renders an audio element with the field data.

Thanks & Regards, 

 

Brain Station 23 Ltd. 

Mobile: (+880) 1404055226 

Email: sales@brainstation-23.com 

Web: https://brainstation-23.com/ 

Address: (Building-1) 8th Floor, 2 Bir Uttam AK Khandakar Road, Mohakhali C/A, Dhaka 1212, Bangladesh 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มี.ค. 24
1162
2
ก.ย. 23
1989
1
ธ.ค. 23
4086
1
ม.ค. 23
4719
2
มิ.ย. 23
2228