Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 2661 | Rev 3193 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2661 Rev 2662
Línea 189... Línea 189...
189
          case "video/mp4":
189
          case "video/mp4":
190
          case "video/mpeg":
190
          case "video/mpeg":
191
          case "video/webm":
191
          case "video/webm":
192
            return (
192
            return (
193
              <div
193
              <div
194
                style={{ ...thumbStyle, width: "auto", height: "auto" }}
194
                style={{ ...thumbStyle, width: "90%", height: "auto", margin: 'auto' }}
195
                key={file.name}
195
                key={file.name}
196
              >
196
              >
197
                <div style={thumbInnerStyle}>
197
                <div style={thumbInnerStyle}>
198
                  <video
198
                  <video
199
                    src={URL.createObjectURL(file)}
199
                    src={URL.createObjectURL(file)}
Línea 237... Línea 237...
237
              </div>
237
              </div>
238
            );
238
            );
239
          case "application/pdf":
239
          case "application/pdf":
240
            return (
240
            return (
241
              <div
241
              <div
242
                style={{ ...thumbStyle, width: "auto", height: "auto" }}
242
                style={{ ...thumbStyle, width: "90%", height: "auto", margin: 'auto' }}
243
                key={file.name}
243
                key={file.name}
244
              >
244
              >
245
                <div style={thumbInnerStyle}>
245
                <div style={thumbInnerStyle}>
246
                  <object
246
                  <object
247
                    data={URL.createObjectURL(file)}
247
                    data={URL.createObjectURL(file)}