scroll_lock

1

votes
2

answer
885

views

DataAnnotations MetadataType Class Ignores Base Class Properties

I've run into a bit of a wall in trying to use the .NET DataAnnotations feature to provide simple validations in a derived class. I am marking up my class with the standard annotations included in .NET 4 (from the System.ComponentModel.DataAnnotations namespace), then using the MS Enterprise Library...
Scroll Lock
1

votes
1

answer
157

views

Is it possible to read file system from sd card in browser using javascript

I am creating a media player in html/js which will read and display audio/video present on sd card with file structure. I can read single/multiple files with File Api but an't find anything to read complete directory. Is it possible?
Scroll-lock
1

votes
2

answer
137

views

Vba code is opening the word documents but it is not executing the Find-Replace function. Need some editing

Sub FindandReplace() Dim wrd As Word.Application Set wrd = CreateObject('word.application') wrd.Visible = True AppActivate wrd.Name FName = Dir('C:\Users\user\Desktop\folderb\*.doc') Do While (FName '') With wrd .Documents.Open ('C:\Users\user\Desktop\folderb\' & FName) If .ActiveWindow.View.SplitS...
Scroll Lock
1

votes
3

answer
121

views

Proper way of storing blob images on GAE

I currently have two options to store some images on the blobstore. I have a User model class User(db.Model) ,where I am saving an avatar for the user. One option is to save the avatar as blobstore.BlobReferenceProperty() and then serve the image with get_serving_url from the user.avatar referenc...
scroll_lock
1

votes
2

answer
148

views

TextProperty field in NDB gets “=” appended after every line

I have very strange case which I wasn't able to debug for a day. On my front-end I have form with textarea and submit button. On submission, the textarea field gets saved as ndb.TextProperty() When I submit a multiline text, the text in the database gets = or =20 characters on every line. At first...
scroll_lock
1

votes
1

answer
1.7k

views

Return duration from a function

One of the functions for the vimeo API (with froogaloop) is getDuration(). I am trying to make a function that will return the duration, but somehow I am getting Object as result. The Vimeo API documentation doesn't specify how are you supposed to do this. I believe this is incorrect: function ge...
scroll_lock
3

votes
1

answer
871

views

Get vimeo thumbnail image through SSL

Like this image for example: http://b.vimeocdn.com/ts/449/060/449060084_100.jpg Youtube is able to give me their images through SSL https://img.youtube.com/vi/_EvDcmcX0Kk/0.jpg, but Vimeo doesn't. Probably because they are on CDN hosted on akamai. Is there any way of doing it though ? Thanks.
scroll_lock
2

votes
0

answer
148

views

What is the minimum seekTo value that a vimeo player can go to

I am experimenting with different seekTo() values in the Vimeo froogaloop api. If the current time is 10 (seconds), I can easily go to 11 with player.api('seekTo', 11); , but I am trying to go a fraction of that time. Can I seekTo() frames instead of seconds ? Here is an example of a button that sh...
scroll_lock