Welcome to WebmasterWorld Guest from 54.80.115.140

Forum Moderators: not2easy & rumbas

Message Too Old, No Replies

twitter failure

     
11:36 pm on Jul 29, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 19, 2002
posts:3368
votes: 41


i've been trying to upload an mp4 video to a 'tweet' i keep getting an error message:

"Cannot read property 'code' of undefined"

this same video was uploaded to facebook no problem. i've rebooted, closed browsers, changed browsers, all to no avail, but twitter just doesn't like it! there are loads of others with the same problem (given a quick search)

so this is just a rant ... dear twitter, no wonder you are losing real users in big numbers, if you can't even process short (like 10 second) video uploads, the you don't even deserve to be in the game!
11:42 pm on July 29, 2017 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:11160
votes: 663


It's either a failure with the Twitter utility recognizing the file type as what the extension declares, or the file itself is in an mp4 wrapper but the codec itself is not actual mp4.

Try renaming the file to mpg, or mpeg, or mpeg4 (before you do though, make a few copies)
12:09 am on July 30, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 19, 2002
posts:3368
votes: 41


good suggestion but mpeg and mpeg4 give an error message of ... 'this kind of file isn't supported yet.Try uploading a gif, video, or picture instead'.

i tried uploading the exact same video and using the exact same video if i trim the first 2 seconds off using the 'trimmer' built into twitter, then the video uploads no problem. however this video is 10 seconds long, i don't want to cut the first 2 seconds off!

i've tried again full length and just got a 'dead bird' icon. i've never seen this before, but the meaning is clear.

as i said facebook processed the same video no problem, it is no wonder twitter is going down the drain!
12:21 am on July 30, 2017 (gmt 0)

Moderator from US 

WebmasterWorld Administrator keyplyr is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Sept 26, 2001
posts:11160
votes: 663


Well, you could try just renaming it (keeping the same file extension.) Twitter likes to cache by filenames. Tricking it into thinking this is a new file might work.
12:28 am on July 30, 2017 (gmt 0)

Senior Member

WebmasterWorld Senior Member topr8 is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Apr 19, 2002
posts:3368
votes: 41


ok, i'll try that next time, that's a good suggestion.
in the end i trimmed the first second off the video, using the twitter trimmer tool and it accepted it!
thank you for your help.