콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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 

아바타
취소
관련 게시물 답글 화면 활동
0
3월 24
929
2
9월 23
1786
1
12월 23
3839
1
1월 23
4498
2
6월 23
2062