Permalink
Browse files

Merge pull request #192 from felixrieseberg/040

0.4.0
  • Loading branch information...
2 parents 70fd4d2 + ceabb4c commit aac3a885a460d41edc060ca0060de7249d754444 @felixrieseberg felixrieseberg committed Jul 11, 2015
@@ -49,5 +49,19 @@ export default Ember.Component.extend({
Ember.run.scheduleOnce('afterRender', this, function () {
Ember.$('.materialboxed').materialbox();
});
- }.observes('selectedBlob')
+ }.observes('selectedBlob'),
+
+ /**
+ * Works around a Chrome issue, reloading multimedia tags.
+ */
+ previewLinkObserver: function () {
+ Ember.run.scheduleOnce('afterRender', this, () => {
+ if (this.get('typeAudio') || this.get('typeVideo')) {
+ let mediaElement = Ember.$('#previewMedia');
+ if (mediaElement && mediaElement[0]) {
+ mediaElement[0].load();
+ }
+ }
+ });
+ }.observes('previewLink')
});
@@ -14,7 +14,7 @@ div.preview {
max-height: 100%;
z-index: 1000;
- img {
+ img, audio, video {
width: 100%;
height: 100%;
position: relative;
@@ -1,14 +1,12 @@
<div class="preview">
<div class="content">
{{#if typeVideo}}
- <video height="125" class="materialboxed" controls autoplay name="media">
- <source src={{previewLink}} type={{type}} >
+ <video src={{previewLink}} type={{type}} id="previewMedia" height="125" class="materialboxed" controls autoplay name="media">
</video>
{{/if}}
{{#if typeAudio}}
- <video height="110" class="materialboxed" controls autoplay name="media">
- <source src={{previewLink}} type={{type}} >
- </video>
+ <audio src={{previewLink}} type={{type}} id="previewMedia" height="110" class="materialboxed" controls autoplay name="media">
+ </audio>
{{/if}}
{{#if typeImage}}
<img class="materialboxed" src={{previewLink}} />
@@ -1,10 +1,10 @@
<div id="modal-about" class="modal">
<div class="modal-content">
<h4>About</h4>
- <p>Version: {{versionNumber}}</p>
- <p>This app is maintained by Steven Edouard and Felix Rieseberg. (C) Copyright 2015 Microsoft Coporation.</p>
+ <p><strong>Azure Storage Explorer v{{versionNumber}}</strong></p>
+ <p>This app is maintained by Steven Edouard and Felix Rieseberg. To report issues, please visit http://aka.ms/ase/issues. </p>
+ <p>(C) Copyright 2015 Microsoft Coporation.</p>
<p>The source code for this app is released under the GPLv3 License. For more information, please visit http://azure-storage.github.io/xplat.</p>
- <p>The icon icludes the artwork "Astronaut" by Simon Child from the Noun Project.</p>
</div>
<div class="modal-footer">
<a href="#" class="waves-effect waves-green btn-flat modal-action modal-close">Close</a>
View
@@ -1,6 +1,6 @@
{
"name": "azureexplorer",
- "version": "0.3.1",
+ "version": "0.4.0",
"description": "A cross-platform tool to explore Azure Storage Accounts",
"scripts": {
"start": "ember server",

0 comments on commit aac3a88

Please sign in to comment.