我想从我的django网站流式传输和播放视频,我已经将它们转换为mp4,并且正在考虑使用carousel小部件与bootstrap来播放它们。当然,我希望只加载当前的视频和延迟加载其余的,因为可能有几个。
我一直在网上寻找ajax功能的好例子,不顺利,想法?
Thanks in advance
您可以使用$.get()
在触发前箭头或后箭头时从服务器加载数据。
api.jquery.com/jQuery.get