This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@extend('layouts.app') | |
@section('content') | |
<video id="player" playsinline webkit-playsinline controls="controls" | |
preload="metadata" data-cast-title="your-title" | |
data-cast-description="your-description"> | |
<source src="{{route('video-stream',[$your-model->stream_uri])}}" type="video/mp4"> | |
</video> | |
<audio id="player2" preload="none" controls width="750" | |
data-cast-title="your-title" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Based on this blog post: https://www.codewall.co.uk/install-summernote-with-laravel-tutorial/ | |
* here is my solution for the summernote editor image upload. | |
* Notes : | |
***** Do not forget enctype="multipart/form-data" attribute in your form ;) | |
***** Use unscaped blade syntax {!! $data !!} to render the results | |
***** Make sure you read laravel 5.8 Storage Documentation here : https://laravel.com/docs/5.8/filesystem#the-public-disk | |
***** For Simplicity I used clusures, means that this is originally **routes/web.php** file! | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('.summer').summernote({ | |
height: "200px", | |
callbacks: { | |
onImageUpload: function(files) { | |
url = $(this).data('upload'); //path is defined as data attribute for textarea | |
sendFile(files[0], url, $(this)); | |
} | |
} | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Clean and simple Keras implementation of network architectures described in: | |
- (ResNet-50) [Deep Residual Learning for Image Recognition](https://arxiv.org/pdf/1512.03385.pdf). | |
- (ResNeXt-50 32x4d) [Aggregated Residual Transformations for Deep Neural Networks](https://arxiv.org/pdf/1611.05431.pdf). | |
Python 3. | |
""" | |
from keras import layers | |
from keras import models |