Embedded video controls not shown in Unit 2.1 - Vision Agents with smolagents
In Vision Agents with smolagents, I added an embedded video with the following syntax:
<video controls>
<source src="https://huggingface.co/datasets/agents-course/course-images/resolve/main/en/unit2/smolagents/VisionBrowserAgent.mp4" type="video/mp4">
</video>
Although it has controls, when built, this attribute is gone and the video can't be played:
The .mdx follows exactly the same pattern as in this blog (.md).
Do you know how to solve it?
@burtenshaw @pcuenca
@sergiopaniego did you consider autoplay? Perhaps uploading the video to YouTube and embedding that instead could be a quick fix?
+1 I'm currently following the unit 2 and cannot play the video even when directly following the link: https://cdn-lfs-us-1.hf.co/repos/45/f4/45f48d5b3577034b76ee728dfe60afca3d0aa70790fda3e706eeb9276d8d5331/a6d7cf5c6d43951649c580157044ac361a3bdc123d3cbc520bca48c028169b9f?response-content-disposition=inline%3B+filename*%3DUTF-8%27%27VisionBrowserAgent.mp4%3B+filename%3D%22VisionBrowserAgent.mp4%22%3B&response-content-type=video%2Fmp4&Expires=1741193860&Policy=eyJTdGF0ZW1lbnQiOlt7IkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc0MTE5Mzg2MH19LCJSZXNvdXJjZSI6Imh0dHBzOi8vY2RuLWxmcy11cy0xLmhmLmNvL3JlcG9zLzQ1L2Y0LzQ1ZjQ4ZDViMzU3NzAzNGI3NmVlNzI4ZGZlNjBhZmNhM2QwYWE3MDc5MGZkYTNlNzA2ZWViOTI3NmQ4ZDUzMzEvYTZkN2NmNWM2ZDQzOTUxNjQ5YzU4MDE1NzA0NGFjMzYxYTNiZGMxMjNkM2NiYzUyMGJjYTQ4YzAyODE2OWI5Zj9yZXNwb25zZS1jb250ZW50LWRpc3Bvc2l0aW9uPSomcmVzcG9uc2UtY29udGVudC10eXBlPSoifV19&Signature=ZDxQEUo6y4qvGCP-Weh9jQcg9WqudkPxZ%7EleKHGoLL1YiFfgzzqrMaNXDs1yYqDlthiGujOeO2cjtce8UzDSI3mhtHz6lwUFpYMnwFe0IMqhkRF313MnDxC44OZBdriX7ZQAJLNOhIXwyeMVTM-ZV5I%7EZvezhRW-OIQ41VJRYZCbV73S23-GoGzksg5mudEQdwh8s%7Ef10GfQSDy672QgFFBv8NKsbqJyLBsdmoP6aSPSchMz9Ce21DiAyJiLzrCTTPS0iL3Ex4WZNfnzng4hHTbdEdiyOlu-r%7ER2t2NLhEFJniIKTS2XUUyhgl9m6%7EmTDKGQST3UBy5MUAsrK7XBpA__&Key-Pair-Id=K24J24Z295AEI9
I have the exact same issue on Chrome... However, it worked perfectly well on Firefox...
Here are the Chrome errors:
@sergiopaniego the solution can be to publish the video on YouTube (unlisted) and embed it to the course. If you don't have access to HF YouTube I can do it let me know.