Skip to content

🎥 Make videos programmatically with React

Replaced ploblematic svg

Patric Salvisberg17e942c7dba0
diff --git a/packages/player/src/icons.tsx b/packages/player/src/icons.tsx
index 273d62d27f..08adbdf193 100644
--- a/packages/player/src/icons.tsx
+++ b/packages/player/src/icons.tsx
@@ -3,24 +3,21 @@ import React from 'react';
export const ICON_SIZE = 25;
export const fullscreenIconSize = 16;
-const rotate: React.CSSProperties = {
- transform: `rotate(90deg)`,
-};
-
export const PlayIcon: React.FC = () => {
return (
<svg
width={ICON_SIZE}
height={ICON_SIZE}
- viewBox="-100 -100 400 400"
- style={rotate}
+ viewBox="0 0 25 25"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
>
<path
- fill="#fff"
- stroke="#fff"
- strokeWidth="100"
+ d="M8 6.375C7.40904 8.17576 7.06921 10.2486 7.01438 12.3871C6.95955 14.5255 7.19163 16.6547 7.6875 18.5625C9.95364 18.2995 12.116 17.6164 14.009 16.5655C15.902 15.5147 17.4755 14.124 18.6088 12.5C17.5158 10.8949 15.9949 9.51103 14.1585 8.45082C12.3222 7.3906 10.2174 6.68116 8 6.375Z"
+ fill="white"
+ stroke="white"
+ strokeWidth="6.25"
strokeLinejoin="round"
- d="M 2 172 a 196 100 0 0 0 195 5 A 196 240 0 0 0 100 2.259 A 196 240 0 0 0 2 172 z"
/>
</svg>
);