openedx / openedx-app-ios

The mobile app for iOS for the Open EdX Platform.
Apache License 2.0
19 stars 13 forks source link

[iOS] Video starts playing on neighboring cards without video #362

Closed sergeymomot closed 2 months ago

sergeymomot commented 3 months ago

YouTube video starts playing on neighboring cards. Steps to repeat

I was unable to repeat this bug for non-YouTube videos

Content example with YouTube and non-YouTube video

Content example: https://learning.edx.org/course/course-v1:ANUx+RSIT-01x+3T2015/block-v1:ANUx+RSIT-01x+3T2015+type@sequential+block@17c995f297dc455fb2794312415626dd/block-v1:ANUx+RSIT-01x+3T2015+type@vertical+block@8120bb7f13a04849a9062edd717cf971

https://learning.edx.org/course/course-v1:BUx+GlobalHealthX+3T2018/block-v1:BUx+GlobalHealthX+3T2018+type@sequential+block@25387bafb21d41ef8638b68f3a4947d3/block-v1:BUx+GlobalHealthX+3T2018+type@vertical+block@8cc9cfc58c834fd3904c15b4a532d24b

https://learning.edx.org/course/course-v1:TUMx+QPLS4x+2T2025/block-v1:TUMx+QPLS4x+2T2025+type@sequential+block@91754700c8dd47e785a427e9397dac20/block-v1:TUMx+QPLS4x+2T2025+type@vertical+block@cf473f4171b643a7ba11e67e934978fc

https://github.com/openedx/openedx-app-ios/assets/2964930/87b12130-3872-4005-9526-1f51d1a82461

https://github.com/openedx/openedx-app-ios/assets/2964930/caffe3d9-e7a8-4907-81a3-4896179a0d5d