برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>نمایش ویدئو در صفحه</title> </head> <body> <video controls> <source src="test" type="video/mp4"> خطا: مرورگر پشتیبانی نمی کند </video> </body> </html>
<!DOCTYPE html>
<html>
<head>
<title>تست</title>
</head>
<body>
<video controls muted autoplay>
<source src="test.mp4" type="video/mp4">
error
</video>
</body>
</html>
<!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>پخش ویدیو</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; font-family: Arial, sans-serif; } video { width: 80%; max-width: 600px; border: 1px solid #ccc; border-radius: 8px; } .controls { margin-top: 10px; display: flex; justify-content: center; } button { padding: 10px 15px; margin: 0 5px; border: none; border-radius: 5px; background-color: #007bff; color: white; cursor: pointer; font-size: 16px; } button:hover { background-color: #0056b3; } </style> </head> <body> <video id="myVideo" controls> <source src="test.mp4" type="video/mp4"> <!-- آدرس ویدیو --> مرورگر شما از تگ ویدیو پشتیبانی نمیکند. </video> <div class="controls"> <button onclick="playVideo()">پخش</button> <button onclick="pauseVideo()">توقف</button> <button onclick="stopVideo()">متوقف کردن</button> </div> <script> const video = document.getElementById('myVideo'); function playVideo() { video.play(); } function pauseVideo() { video.pause(); } function stopVideo() { video.pause(); video.currentTime = 0; # Returns the video to the beginning } </script> </body> </html>
<!DOCTYPE html> <html lang="fa";> <head> <meta charset="UTF-8"> <meta name="viewport " content="width=device-width,intial-scale=1.0"> </head> <body> <video content="width=device-width,intial-scale=1.0" controls autoplay muted > <source src="test.mp4" type="video/mp4"> <track src="test.vtt" kind="subtitles" srclang='fa' label="farsi"> </video> </body> </html>
Submitting answers is currently unavailable.
Write a program that receives a number and prints the figure below according to the number, the Number Example: 3 #######Number Example: 5 #######################
Write a program that receives 2 dates in yyyy/mm/dd format and print 2 dates to the output for example Tarikh1: 1401/11/01 tarikh2: 1401/11/05 4 days Tarikh1: 1401/10/01 Tarikh2: 1401/11/05 34 Days
Write a program that receives a number and from that number to 0 countdown is required between each number of 1 second pauses
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.