How does the front-end page get the videos and pictures in the database?

how does the front-end page get the videos and pictures in the database? Without relevant experience, you had better say more details about _ (: 3 ") _
like a video bar how to get it. On your knees. Thank you.


Thank you, guys. I was wrong that TT is on the server. There is another question:
so how to get it dynamically? It is a native App, user like iqiyi who shares it with Wechat"s friends when watching video a. What I want to write is this sharing page. How can I know whether the user will share video an or video bpjcjd?

Mar.17,2021

get 0-0 to get the database. Pictures and videos are right on the server, but definitely not in the database. Haccup, your backend API will return your address. You use the tag to call this address to ok


to obtain


images according to the ajax interface provided by the backend. One is the address, and the other is that base64, videos are all addresses. That is to say, what you generally get is only an address, and just add this address to the css dynamically. Pictures and videos are all placed on the server.


Let the backend make an interface. You can use ajax to get the path.
the path returned to you by the backend will also give you other identifiers. You can record it and cooperate with the backend.
for example, the video_id backend will know which video you shared was watched or clicked several times

.
Menu