diff --git a/ImageItem.js b/ImageItem.js
index cfc3e73..4ea779f 100644
--- a/ImageItem.js
+++ b/ImageItem.js
@@ -8,6 +8,7 @@ import {
import PropTypes from 'prop-types';
const checkIcon = require('./circle-check.png');
+const videoIcon = require('./videocam.png');
const styles = StyleSheet.create({
marker: {
@@ -16,6 +17,14 @@ const styles = StyleSheet.create({
right: 5,
backgroundColor: 'transparent',
},
+ videoMarker: {
+ position: 'absolute',
+ bottom: 5,
+ right: 5,
+ backgroundColor: 'transparent',
+ width: 50,
+ height: 30
+ },
});
class ImageItem extends Component {
@@ -38,6 +47,10 @@ class ImageItem extends Component {
item, selected, selectedMarker, imageMargin,
} = this.props;
+ let videoMarker;
+ if ( item.node.type.startsWith( "video" ) )
+ videoMarker = ;
+
const marker = selectedMarker || (
+ {videoMarker}
{(selected) ? marker : null}
);
diff --git a/videocam.png b/videocam.png
new file mode 100644
index 0000000..5ab0ce5
Binary files /dev/null and b/videocam.png differ