Noscript.tsx 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import { FC } from 'react';
  2. import { OwncastLogo } from '../../common/OwncastLogo/OwncastLogo';
  3. import styles from './Noscript.module.scss';
  4. export const Noscript: FC = () => (
  5. <noscript className={styles.noscript}>
  6. <div className={styles.scrollContainer}>
  7. <div className={styles.content}>
  8. <OwncastLogo className={styles.logo} />
  9. <br />
  10. <p>
  11. This website is powered by&nbsp;
  12. <a href="https://owncast.online" rel="noopener noreferrer" target="_blank">
  13. Owncast
  14. </a>
  15. .
  16. </p>
  17. <p>
  18. Owncast uses JavaScript for playing the HTTP Live Streaming (HLS) video, and its chat
  19. client. But your web browser does not seem to support JavaScript, or you have it disabled.
  20. </p>
  21. <p>
  22. For the best experience, you should use a different browser with JavaScript support. If
  23. you have disabled JavaScript in your browser, you can re-enable it.
  24. </p>
  25. <h2>How can I watch this stream without JavaScript?</h2>
  26. <p>
  27. You can open the URL of this website in your media player (such as&nbsp;
  28. <a href="https://mpv.io" rel="noopener noreferrer" target="_blank">
  29. mpv
  30. </a>
  31. &nbsp;or&nbsp;
  32. <a href="https://www.videolan.org/vlc/" rel="noopener noreferrer" target="_blank">
  33. VLC
  34. </a>
  35. ) to watch the stream.
  36. </p>
  37. <h2>How can I chat with the others without JavaScript?</h2>
  38. <p>Currently, there is no option to use the chat without JavaScript.</p>
  39. </div>
  40. </div>
  41. </noscript>
  42. );