All 19 Tim Burton Movies, Ranked (2024)

Table of Contents
Watch: Tim Burton Set Design and Mise en scene TIM BURTON FILMS 19. Planet of the Apes (2001) BEST TIM BURTON MOVIES Conclusion TIM BURTON MOVIES LIST 18. Dark Shadows (2012) BEST TIM BURTON MOVIES Conclusion ALL TIM BURTON MOVIES 17. Alice in Wonderland (2010) BEST TIM BURTON MOVIES Conclusion TIM BURTON DIRECTED MOVIES 16. Charlie and the Chocolate Factory BEST TIM BURTON MOVIES Conclusion ALL MOVIES DIRECTED BY TIM BURTON 15. Dumbo (2019) BEST TiM BURTON MOVIES Conclusion COMPLETE TIM BURTON MOVIES LIST 14. Miss Peregrine’s Home for Peculiar Children (2016) BEST TiM BURTON MOVIES Conclusion GOOD TIM BURTON FILMS 13. Sleepy Hollow (1999) BEST TiM BURTON MOVIES Conclusion FUN TIM BURTON FILMS 12. Mars Attacks! (1996) BEST TiM BURTON MOVIES Conclusion RANKING TIM BURTON DIRECTED MOVIES 11. Corpse Bride (2005) BEST TiM BURTON MOVIES Conclusion TOP 10 TIM BURTON MOVIES 10. Sweeney Todd: The Demon Barber of Fleet Street (2007) BEST TiM BURTON MOVIES Conclusion TIM BURTON FILMS YOU LOVE 9. Frankenweenie (2012) BEST TiM BURTON MOVIES Conclusion ALL TIM BURTON MOVIES 8. Big Eyes (2014) Best Tim Burton Movies Conclusion BELOVED TIM BURTON DIRECTED MOVIES 7. Pee-Wee’s Big Adventure (1985) BEST TiM BURTON MOVIES Conclusion BEST TIM BURTON FILMS 6. Batman (1989) BEST TiM BURTON MOVIES Conclusion TOP 5 TIM BURTON FILMS 5. Edward Scissorhands (1990) BEST TiM BURTON MOVIES Conclusion THE TOTAL TIM BURTON MOVIES LIST 4. Batman Returns (1992) BEST TiM BURTON MOVIES Conclusion AMAZING TIM BURTON FILMS 3. Beetlejuice (1988) BEST TiM BURTON MOVIES Conclusion TIM BURTON MOVIES LIST, RANKED 2. Big Fish (2003) BEST TiM BURTON MOVIES Conclusion THE BEST TIM BURTON MOVIE 1. Ed Wood (1994) BEST TiM BURTON MOVIES Conclusion Up Next German Expressionism Explained Showcase your vision with elegant shot lists and storyboards. Post navigation
  • Directing

By Mike Bedard on August 31, 2020

Tim Burton is a curious talent. From the start of any of his movies, you instantly have the thought, “Oh yeah, this is a Tim Burton movie.” He has a unique aesthetic, showcasing the beauty in the morbid. His career has been a rollercoaster of quality. From classics to clunkers, Burton’s unique filmmaking style has occasionally run its course. But love or hate his films, there’s bound to be one that fills you with cheer for being an outcast. Here are the best Tim Burton movies, ranked from worst to best.

NOTE: This list will only include all movies directed by Tim Burton, and The Nightmare Before Christmas is not one of them. Henry Selick actually took the director reigns for that one. Now with that out of the way, let’s dive in.

All 19 Tim Burton Movies, Ranked (1)

Watch: Tim Burton Set Design and Mise en scene

All 19 Tim Burton Movies, Ranked (2)

Subscribe for more filmmaking videos like this.

TIM BURTON FILMS

19. Planet of the Apes (2001)

Planet of the Apes • Making Of

It’s hard to live up to a classic, but Burton’s Planet of the Apesfails on almost every level. Perhaps most disappointingly, it doesn’t even feel like a Tim Burton film. Mark Wahlberg doesn’t bring any of the whimsy normally associated with Burton’s protagonists, and the film takes certain liberties that just don’t add up.

Combined with an ending that will make you pass out from your eyes rolling into the back of your head, it’s bizarre to even fathom what would attract Burton to this project in the first place.

50%

Story

15%

Aesthetic

25%

Filmmaking

30%

Acting

30%

OVERALL SCORE

The Good

  • The Score
  • Ape Make-Up
  • Some Cool Action

The Bad

  • Lead Performances
  • Adds Nothing New
  • "Ape" Lincoln

BEST TIM BURTON MOVIES

Conclusion

Burton’sPlanet of the Apeshas zero originality. When you have a singular talent like Burton’s, that’s the worst crime of all.

TIM BURTON MOVIES LIST

18. Dark Shadows (2012)

Dark Shadows • Behind the Scenes

Dark Shadowsseemed like a natural fit for Burton. A remake of an old vampire TV show starring frequent collaborators Johnny Depp and Helena Bonham Carter? Slam dunk! However, the finished product is an unfocused story and visuals that almost seem like a parody of Tim Burton movies. There’s nothing for fans of the old show nor the uninitiated. It’s just a big, bombastic mess.

20%

STory

40%

Aesthetic

40%

Filmmaking

30%

Acting

32%

OVERALL SCORE

The Good

  • Eva Green
  • Helena Bonham Carter
  • Interesting Idea

The Bad

  • Dangling Plot Threads
  • Zero Chemistry
  • Mediocre Visuals

BEST TIM BURTON MOVIES

Conclusion

It’s hard to understand whoDark Shadowswas made for. Outside of a couple actors doing their very best, it’s just a slog to get through.

ALL TIM BURTON MOVIES

17. Alice in Wonderland (2010)

Through the Looking Glass: The Tech Behind Alice

Riding high off the advent of actually good 3D technology, Alice in Wonderland grossed over $1 billion and led the way to all of the live-action Disney remakes you see today. A mortal sin if ever there was one. In hindsight, it’s a bizarre film that sacrifices any heart for a “Look what we can do!” aesthetic.

45%

Story

60%

Aesthetic

50%

Filmmaking

40%

Acting

49%

O48RALL SCORE

The Good

  • 3D Visuals
  • N/A
  • N/A

The Bad

  • Johnny Depp’s Schtick
  • No Sense of Wonder
  • Tonally Inconsistent

BEST TIM BURTON MOVIES

Conclusion

Alice in Wonderlandmay still dazzle younger viewers. But while it may be pretty to look at, it all adds up to nothing.

TIM BURTON DIRECTED MOVIES

16. Charlie and the Chocolate Factory

Making of Charlie and the Chocolate Factory

Willy Wonka and the Chocolate Factoryis an all-time classic for a reason. Tim Burton had the thankless task of directing the 2005 remake, and to his credit, there’s a lot of interesting choices he made. He fleshes out Charlie’s family and gives Wonka himself a sympathetic backstory.

But what it gets wrong completely shoots the film in the foot. Namely, Johnny Depp’s bizarre performance. Still, you have to commend him somewhat for fully committing to his strange new vision.

55%

Story

60%

Aesthetic

55%

Filmmaking

35%

Acting

51%

OVERALL SCORE

The Good

  • Intriguing Backstory
  • Visuals
  • Oompa Loompas

The Bad

  • Johnny Depp
  • Lack of Imagination
  • Lack of Warmth

BEST TIM BURTON MOVIES

Conclusion

Unlike other remakes, Charlie and the Chocolate Factory is worth seeing if nothing else to compare to the original. It has some cool ideas up its sleeve, but it just doesn’t coalesce as well as Burton wants it.

ALL MOVIES DIRECTED BY TIM BURTON

15. Dumbo (2019)

Making of Tim Burton's Dumbo

The 1941 Dumbo may be one of the greatest animated movies of all time, but with a 64-minute runtime and some unfortunate overt racism, it hasn’t exactly aged well. Perhaps this is one of Disney’s films that should’ve remained in the vault because Burton’s remake just falls flat in so many ways. Dumbo itself is very cute, and it’s kind of interesting seeing a Disney film… make fun of itself? But it’s just too much of a bore for anything to really stand out.

The Good

  • CGI Dumbo
  • Some Bold Performances
  • Corporate Commentary

The Bad

  • Too Slow
  • Loss of Focus
  • Too Much Going On

BEST TiM BURTON MOVIES

Conclusion

Dumbo isn’t without its charms. But it’s too slow and too one-note to ever feel like anything special.

COMPLETE TIM BURTON MOVIES LIST

14. Miss Peregrine’s Home for Peculiar Children (2016)

Set Tour • Miss Peregrine

If Tim Burton ever directed anX-Men movie, it would look exactly like Miss Peregrine’s Home for Peculiar Children. While it has that Burton-esque flair, it doesn’t have a whole lot else. Eva Green is fantastic, but the children at the heart of the film get tossed to the wayside. Kids who already have an appreciation for a goth aesthetic may get a kick out of it, but it never rises to such heights as the best Tim Burton movies.

40%

Story

65%

Aesthetic

65%

Filmmaking

55%

Acting

56%

OVERALL SCORE

The Good

  • Creepy Monster Designs
  • Gothic Aesthetic
  • The Climactic Battle

The Bad

  • No Heart
  • Feels Rushed
  • Too Much Exposition

BEST TiM BURTON MOVIES

Conclusion

It’s one of the films that feels the most Tim Burton-y. If he crafted it with just a bit more care, perhaps it wouldn’t have been forgotten so quickly.

GOOD TIM BURTON FILMS

13. Sleepy Hollow (1999)

Behind the Legend • Sleepy Hollow

Now we’re getting into the Tim Burton film that are actually pretty good.Sleepy Hollowis Tim Burton at his stylistic best. The costumes, production design, and cinematography work together splendidly to create one heck of an atmospheric landscape. Anyone curious about what production designers do need only to study Tim Burton movies.

The story doesn’t always work in as many terrors as it would like, and it has a tendency to fall into the realm of movie cliches. But for a pretty picture, you can’t beat the view.

45%

Story

80%

Aesthetic

60%

Filmmaking

60%

Acting

61%

OVERALL SCORE

The Good

  • Costumes
  • Atmosphere
  • Cinematography

The Bad

  • Not Much Substance
  • Thin Climax
  • Cliche Scares

BEST TiM BURTON MOVIES

Conclusion

Sleepy Hollow has all of the flair you want out of Tim Burton films. It’s just too bad the story doesn’t bolster it up enough to rank among the greats.

FUN TIM BURTON FILMS

12. Mars Attacks! (1996)

Mars Attacks • The Nostalgia Critic

Look, I’m not going to sit here and try to convince youMars Attacks!Is some masterclass of artistry. It’s just hard to imagine that a Hollywood film with an all-star cast made something bordering on absurd Surrealism. It evokes classics from the past and serves as a modern homage to B-movies.

Your mileage with this film will likely depend on how much you like visual gags and low-brow humor. As long as you don’t go in with lofty expectations, it’s a good way to pass a Saturday afternoon.

65%

Story

60%

Aesthetic

60%

Filmmaking

70%

Acting

64%

OVERALL SCORE

The Good

  • Humor
  • Celebrities
  • B-Movie Schlock

The Bad

  • Premise Runs Dry
  • No Substance
  • On-the-Nose Satire

BEST TiM BURTON MOVIES

Conclusion

Mars Attacks! is big, dumb fun. Don’t look any deeper than that.

RANKING TIM BURTON DIRECTED MOVIES

11. Corpse Bride (2005)

The Dark Secrets of Corpse Bride

Corpse Bridefeels like some producer said, “Hey! Kids likeTheNightmare Before Christmas. Let’s just do that again.” Tim Burton finally got the chance to direct a stop motion animated film, and the results are spectacularly “meh.” One of the best stop movies movies this is not.

It’s a cute film, and thestop motion animation is breathtakingly wondrous. It was actually animated by LAIKA before they were their own fully-fledged animation house. It’s just a shame the other components don’t do the stop motion justice.

60%

Story

85%

Aesthetic

60%

Filmmaking

55%

Acting

65%

OVERALL SCORE

The Good

  • Stop Motion
  • Macabre Aesthetic
  • Good Family Film

The Bad

  • Rote Characters
  • Uninspired Music
  • Feels Done Before

BEST TiM BURTON MOVIES

Conclusion

Corpse Bride is a great film to watch with the kids, provided they’re okay with some dark comedy. For adults, it will mostly just make you wish you had watched The Nightmare Before Christmas instead.

TOP 10 TIM BURTON MOVIES

10. Sweeney Todd: The Demon Barber of Fleet Street (2007)

Sweeney Todd: How to Adapt

Now that we’re into the top 10 Tim Burton movies, everything from here on out pretty much reaches “great” status.Sweeney Toddis without a doubt Burton’s most violent film, but even amongst all the blood and violence, he never loses his creative flair. The whimsy usually injected into his movies is replaced with macabre style, and it works brilliantly.

More than anything, the film shows just how good Burton is at directing musicals. Of all the movie genres, the horror film and the musical don't work on paper. And, yet, the genre elements never overshadow one another. Instead, they work in tandem to create a gripping work that sticks with you.

80%

Story

80%

Aesthetic

75%

Filmmaking

70%

Acting

76%

OVERALL SCORE

The Good

  • Stylistic Flourishes
  • The Staging
  • The Horror

The Bad

  • Poor Singing in Parts
  • Jokes Fall Flat
  • N/A

BEST TiM BURTON MOVIES

Conclusion

Sweeney Todd is not for the faint of heart. But for a riveting Broadway adaptation, it’s one of the best to grace the big screen.

TIM BURTON FILMS YOU LOVE

9. Frankenweenie (2012)

Frankenweenie • Helping Puppets Act

Tim Burton made a short film called Frankenweeniebefore his feature-length debut. He returned to these roots in 2012 for a film of the same name that retells the story ofFrankenstein, but this time, it’s about a young boy who wants to bring his dog back to life after it’s hit by a car.

It’s a moving, heartfelt film. Made in black and white and featuring plenty of B-movie, monster references, the film is a loving testament to the movies that clearly influenced Burton growing up. It flies a little off the rails in the third act, but it’s the kind of movie that will make you hold your pup a little closer once it’s over.

80%

Story

85%

Aesthetic

85%

Fimmaking

70%

Acting

80%

OVERALL SCORE

The Good

  • Stop Motion
  • Loving Story
  • A Lot of Heart

The Bad

  • Third Act
  • Outdated References
  • N/A

BEST TiM BURTON MOVIES

Conclusion

Frankenweenie isn’t without its flaws. However, your heart would need to be buried in the ground to not feel something.

ALL TIM BURTON MOVIES

8. Big Eyes (2014)

Anatomy of a Scene • Big Eyes

Tim Burton let go of many of his artistic flourishes forBig Eyes.However, unlikePlanet of the Apes,the movie is all the better for it. Burton brings the characters down to Earth to tell a haunting tale of a husband who steals his wife’s artwork and passes it off as his own.

It’s one of Burton’s most mature works. Instead of focusing on style, he places Amy Adams and Christoph Waltz front and center, and the pair do an extraordinary job. It’s a solid film that shows Burton can still tell relevant, engaging stories without relying on many of his crutches that became prominent within the last decade.

90%

Story

70%

Aesthetic

80%

Filmmaking

90%

Acting

82%

OVERALL SCORE

The Good

  • The Acting
  • Thought-Provoking
  • Social Commentary

The Bad

  • Too Much Restraint
  • Too Fairytale-Like
  • N/A

Best Tim Burton Movies

Conclusion

Big Eyes proves Tim Burton can still make films for an adult audience. If only he continued down that path in the years that would come.

BELOVED TIM BURTON DIRECTED MOVIES

7. Pee-Wee’s Big Adventure (1985)

Paul Reuben on Pee-Wee’s Big Adventure

This debut feature film proves to be one of the best Tim Burton movies. He brings slight brush strokes of what would come to be known as his signature style to the zany antics of Pee-Wee Herman.

There’s nothing particularly insightful about the film. It’s just going from one gag to the next, but when those gags work so well (particularly the super freaky Large Marge sequence), it’s hard not to fall in love with it.

90%

Story

85%

Aesthetic

80%

Filmmaking

80%

Acting

84%

OVERALL SCORE

The Good

  • Paul Reubens
  • Unique Style
  • Fun Jokes and Gags

The Bad

  • Aimed Squarely at Kids
  • Loose Plot
  • N/A

BEST TiM BURTON MOVIES

Conclusion

Watching Pee-Wee’s Big Adventure today for the first time as an adult may irritate you more than endear you. However, for millennials, it’s a seminal film that will make you want to watch Pee-Wee’s Playhouse again.

BEST TIM BURTON FILMS

6. Batman (1989)

Behind the Scenes Facts • Batman

Tim Burton accomplished something truly extraordinary with 1989’sBatman. He made a comic book superhero movie accessible to the masses while infusing his own creative flair in the process. Burton’s trademark grim but whimsical set design is on full display, turning Gotham into a Modernist-German Expressionist dream.

This movie shows exactly why Burton is an immense talent. He can take a superhero film, musical, or dark drama and turn it into something that is signature “Burton.” He’s faithful to the genre he works in while putting his own stamp on it.

90%

Story

85%

Aesthetic

85%

Filmmaking

80%

Acting

85%

OVERALL SCORE

The Good

  • Production Design
  • The Score
  • Batdance

The Bad

  • Pacing
  • The "Joker" Reveal
  • N/A

BEST TiM BURTON MOVIES

Conclusion

Even amongst today's best superhero films coming out today, 1989’s Batman still holds up. Consider it was Burton’s third feature film, it’s all the more impressive.

TOP 5 TIM BURTON FILMS

5. Edward Scissorhands (1990)

Things You Didn’t Know About Edward Scissorhands

Edward Scissorhandsis peak Burton. It’s an odd, lovely film and abiting satireof suburban sensibilities. The townspeople are all too welcoming to allow Edward to trim their hedges and give them haircuts, but when he’s framed for a crime, they’re all too willing to chase him out.

For anyone who’s ever felt ostracized and cast out from society,Edward Scissorhandsis a near-perfect love letter. It’s a modern fairy tale that could’ve only sprung from the mind of Tim Burton.

90%

Story

90%

Aesthetic

90%

Filmmaking

85%

Acting

89%

OVERALL SCORE

The Good

  • Performance
  • Production Design
  • Satire

The Bad

  • Lack of Character Arcs
  • N/A
  • N/A

BEST TiM BURTON MOVIES

Conclusion

Edward Scissorhands is a must-watch for artists who have ever felt excluded from society. It’s hauntingly beautiful and shows how you can take well-known tropes and create something wholly unique.

THE TOTAL TIM BURTON MOVIES LIST

4. Batman Returns (1992)

How McDonald’s Got Tim Burton Fired From Batman

Riding high off the success ofBatman,Burton upped the weirdness and made asolid sequel. He introduced Catwoman, played brilliantly by Michelle Pfeiffer, whose scenes with Batman are extraordinary. Danny DeVito is also a delight as Penguin, and his run for mayor is still a magnificent piece of political satire.

The film exudes personality. It’s a film with a confident director who knows precisely what he wants to do, and a studio letting him get incredibly strange with it. Darker superhero movies would come later, but there still has never been a beast likeBatman Returns.

85%

Story

90%

Aesthetic

90%

Filmmaking

90%

acting

89%

OVERALL SCORE

The Good

  • The Performances
  • Sheer Spectacle
  • Daring Vision

The Bad

  • Too Many Villains
  • Not Enough Batman
  • N/A

BEST TiM BURTON MOVIES

Conclusion

Batman Returns is one of the all-time great Batman movies. It shows what’s possible when you allow one of cinema's true auteur directors to take the reins of a hit franchise.

AMAZING TIM BURTON FILMS

3. Beetlejuice (1988)

The Weird Wisdom of Beetlejuice

Beetlejuicelaid the foundation for Burton’s entire film career. It showed hisdark humor, morbid sensibilities, and sentimentality.

Beetlejuicetwists the ghost movie on its head by making the ghosts the central characters. You root for them to scare the uptight Deetz parents from their home. From the “Banana Boat Song” scene to the sand worm,Beetlejuicewas designed to influence a generation of outcasts.

90%

Story

95%

Aesthetic

90%

Filmmaking

90%

Acting

92%

OVERALL SCORE

The Good

  • Performances
  • Style
  • "Banana Boat Song"

The Bad

  • Jokes Haven't Aged Well
  • Too Fast Paced in Parts
  • N/A

BEST TiM BURTON MOVIES

Conclusion

Some gags haven’t aged well. But Beetlejuice showcases Burton’s flair for the eccentric and macabre, making this essential viewing.

TIM BURTON MOVIES LIST, RANKED

2. Big Fish (2003)

Tim Burton’s Abandoned Town

Big Fishisn’t filled to the brim with Burton’s usual stylistic flourishes. But those magical, whimsical moments are there just enough to lift this movie to something wonderful.

Even if you strip away the visuals, it’s a fantastic movie about the bond between a father and his son. The stories the father tells his son influence his life so much. While other Burton films deal with the power of stories, none are quite as impactful asBig Fish.

95%

Story

90%

Aesthetic

95%

Filmmaking

95%

Acting

94%

OVERALL SCORE

The Good

  • Emotional Core
  • Stylish Visuals
  • Themes

The Bad

  • Lack of Surprises
  • N/A
  • N/A

BEST TiM BURTON MOVIES

Conclusion

Big Fish shows how Burton can merge his unique sensibilities with a more traditional story. It’s an ode to all of the storytellers out there.

THE BEST TIM BURTON MOVIE

1. Ed Wood (1994)

Tim Burton & Johnny Depp Talk About Ed Wood

If there’s a central theme to take from Tim Burton films, it’s that the world needs more outsiders, more weirdos, and more kooky talents. In Ed Wood,Burton celebrates the life and talent of the director of such “bad” movies asPlan 9 From Outer Space. Ed Wood may have never found his place in the world, but through this film, Burton celebrated what he tried to do, fully devoting himself to his visions.

The style here is restrained. Burton foregoes many of his flourishes and opts to film in black and white. The characters are allowed to shine, and the audience can bask in all of their eccentricities. An ode to cinema and Burton’s most personal film, highlighting why he is a singular talent.

100%

Story

95%

Aesthetic

95%

Filmmaking

95%

Acting

96%

OVERALL SCORE

The Good

  • Performances
  • Comedy
  • A Touching Tribute

The Bad

  • N/A
  • N/A
  • N/A

BEST TiM BURTON MOVIES

Conclusion

Ed Wood encapsulated everything that makes Tim Burton a great director. The world would be a better place with more movies like this.

Up Next

German Expressionism Explained

Watch one of Tim Burton’s films, and you’ll easily find the influences from German Expressionism. Learn more about the artistic style that has influenced Burton throughout his career and how other modern films have incorporated this important movement.

Up Next: German Expressionism →

Showcase your vision with elegant shot lists and storyboards.

Create robust and customizable shot lists. Upload images to make storyboards and slideshows.

Learn More ➜

GET STARTED FOR FREE

All 19 Tim Burton Movies, Ranked (4)

All 19 Tim Burton Movies, Ranked (5)

About

  • Blog
  • Support
  • Tutorials
  • Templates
  • Press
  • Terms
  • Privacy

Learn More

  • Featured On
  • Careers
  • StudioBinder Partners
  • Contact

Featured Blog Posts

  • Ultimate Guide to Call Sheets
  • How to Break Down a Script (with FREE Script Breakdown Sheet)
  • The Only Shot List Template You Need — with Free Download
  • A Better Film Crew List Template Booking Sheet
  • Best Storyboard Softwares (with free Storyboard Templates)

Compare

  • Movie Magic Scheduling
  • Gorilla Software
  • Storyboard That
  • Celtx

FREE Master Classes

  • Advanced Filmmaking TechniquesA visual medium requires visual methods. Master the art of visual storytelling with our FREE video series on directing and filmmaking techniques.
  • TV Writing and DevelopmentWe’re in a golden age of TV writing and development. More and more people are flocking to the small screen to find daily entertainment. So how can you break put from the pack and get your idea onto the small screen? We’re here to help.
  • Making It: From Pre-Production to Screen

Latest

  • What is Tone? — A Guide for Storytellers
  • What Is a Plot? Types of Plot, Definitions, and Examples
  • 50+ Types of Camera Shots, Angles, and Techniques
  • How to Make a Music Video Storyboard: A Step-by-Step Guide

Made by Leanometry

©2024 STUDIOBINDER INC.

' ).css( {position: 'fixed',zIndex: 999992,top: 0,left: 0,width: '100%',height: '100%',opacity: '0.3',background: '#000',display: 'none'} ).appendTo( 'body' );}$overlay.fadeIn( 300 ).find( '.tcb-popup-close' ).hide();$target.css( {display: 'none',visibility: '',zIndex: 999993,left: '50%',top: '50%',background: '#000',boxShadow: '0 10px 25px rgba(0,0,0,0.5)'} );var $ifr = $target.find( 'iframe' ),is_custom = false;if ( $target.hasClass( 'tcb-custom-video' ) ) {is_custom = true;if ( ! $target.data( 'tcb-video-player' ) ) {var _id = $target.find( '.wp-video-shortcode' ).attr( 'id' );if ( typeof mejs !== 'undefined' && mejs && mejs.players && mejs.players[ _id ] ) {$target.data( 'tcb-video-player', mejs.players[ _id ] );} else {$target.data( 'tcb-video-player', $target.find( 'video' )[ 0 ] );}}} else if ( $ifr.length && $ifr.attr( 'data-src' ) ) { //$ifr.attr( 'src', $ifr.attr( 'data-src' ) );}$body.css( 'overflow', 'hidden' );$target.show( 300, function () {$ifr.attr( 'src', $ifr.attr( 'data-src' ) );$ifr.removeAttr( 'data-src' );$overlay.find( '.tcb-popup-close' ).fadeIn( 200 );if ( is_custom && config.p.a ) {/* autoplay video */$target.data( 'tcb-video-player' ).play();}} );function close_it() {$overlay.find( '.tcb-popup-close' ).hide();$document.off( 'keyup.videoPopup' );$overlay.fadeOut( 300 );$target.hide( 300, function () {if ( ! $ifr.attr( 'data-src' ) ) {$ifr.attr( 'data-src', $ifr.attr( 'src' ) );} $ifr.removeAttr( 'src' );if ( is_custom ) {try {$target.data( 'tcb-video-player' ).pause();$target.data( 'tcb-video-player' ).setCurrentTime && $target.data( 'tcb-video-player' ).setCurrentTime( 0 );} catch ( e ) {console.log( 'Cannot pause video' );}}} );$body.css( 'overflow', '' );}$overlay.off( 'click.videoPopup' ).on( 'click.videoPopup', function () {close_it();} );// Return on ESCThriveGlobal.$j( document ).off( 'keyup.videoPopup' ).on( 'keyup.videoPopup', function ( e ) {if ( e.keyCode === 27 ) { // ESC keyclose_it();}} );return false;};

Copy link

Copy

All 19 Tim Burton Movies, Ranked (2024)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Duncan Muller

Last Updated:

Views: 5383

Rating: 4.9 / 5 (79 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Duncan Muller

Birthday: 1997-01-13

Address: Apt. 505 914 Phillip Crossroad, O'Konborough, NV 62411

Phone: +8555305800947

Job: Construction Agent

Hobby: Shopping, Table tennis, Snowboarding, Rafting, Motor sports, Homebrewing, Taxidermy

Introduction: My name is Duncan Muller, I am a enchanting, good, gentle, modern, tasty, nice, elegant person who loves writing and wants to share my knowledge and understanding with you.