A pirate, a pea pod and a vampire! Niall Horan and James Corden dress up in parody music video about Halloween candy on Late Late Show

He jetted to LA to promote his new solo single This Town. 

But Niall Horan still took some time to get into the Halloween spirit while stateside - teaming up with fellow Brit James Corden to create a parody music video in light of the holiday.

The 23-year-old singer clad himself in an array of ridiculous costumes for the track Candy, performed the tune of Ginuwine's famous track Pony, as part of the 38-year-old's hit chat series The Late Late Show.

Scroll down for video

Ultimate Halloween fantasy: Niall Horan, 23, joined James Corden, 38, on Friday to create a parody music video of Ginuwine's Pony in celebration of Halloween

Getting into the spirit: The witty video was created as part of James' hit series over in the US, The Late Late Show

Arghhhh you ready? Niall first appears as a pirate, complete with hoop earrings and eye patch, as he joins his dancing and singing pal for the fun

The boys sport a range of hilarious costumes as they change the original raunchy song lyrics to ones about the selection of sweets in the US, as part of the spooky holiday.

Opening in a dramatic fashion, the video begins with James knocking on a door to trick or treat, dressed in full Batman costume.

When the confused female owner of the house answers the door, the Gavin and Stacey star proceeds to try and seduce her with his dulcet tones and ironic caress of her face with a sweet treat.

Treat yourself: The boys sport a range of costumes as they change the original raunchy song lyrics to ones about sweets instead

Make it rain: The pair dance around hilariously in various costumes, switching later on to an astronaut and a vampire

You want some sugar? James even refers to himself as 'Captain Sugar Daddy' during his time in the space suit

Niall, dressed as a pirate complete with hoop earrings and eye patch, then joins his dancing and singing pal for the fun by enticing his female in the same manner.

The pair then have a boogie in a dark and smoky graveyard - mocking the spooky holiday by dressing in hilarious vegetable costumes of a corn on the cob and podded peas. 

The two later switch between a vampire, an astronaut - which James refers himself as 'Captain Sugar Daddy' - and even a cow, with Niall slipping his frame into a jokey animal onesie.

This must be it: Towards the end the pair begin crooning about what their audience's 'Halloween fantasy' is

Getting the good stuff: The pair then have a boogie in a graveyard - mocking the spooky holiday by dressing in hilarious vegetable costumes of a corn on the cob and podded peas

Sorry James: At the end of the video, the young One Direction star manages to nab his female admirer, while Corden aka Batman is hilariously left alone outside the door

Towards the end the pair begin crooning about what their audience's 'Halloween fantasy' is, mocking the original by rapping: 'You want a ghost, baby boo?/You want a cow? Baby, moo.'

At the end of the video, the young One Direction star manages to nab his female admirer, while James aka Batman is hilariously left alone outside the door. 

The Late Late Show, known for silly skits such as this, was evidently Niall's last stop on his LA trip, having jetted there last week.  

The Irish blonde was seen heading to the CBS studios with a female pal on Thursday before he headed to LAX airport for home - after admitting he still fancies singer Ellie Goulding. 

Last day in La-la land: Niall Horan looked in good spirits as he enjoyed his final day in LA on Thursday before heading to LAX airport later on

Sporting fitted white jeans and a T-shirt, Niall cut a dapper figure.

Accessorising with a rucksack and sunglasses, he was spotted getting into a car with a mystery brunette- thought to be TV producer Ben Winston's wife Meredith- a good friend to Harry Styles. 

His pal worked casual chic in a black cropped jumper, an oversized white shirt, jeans and trainers.

Group outing: Accessorising with a rucksack and sunglasses, he was spotted getting into a car with a mystery brunette- thought to be TV producer Ben Winston's wife Meredith- a good friend to Harry Styles

Adding a dash of designer she accessorised with a Givenchy bag and sunglasses. 

The duo headed to the studio together, before Niall went on to LAX airport to catch a departing flight in the evening.

And it looked as though Niall's stay had been productive, with producer Ben taking to Twitter on Thursday to tweet: 'Brand new music video from @Niallhoran dropped tonight. Especially for Halloween'.  

Stylish: His pal worked casual chic in a black cropped jumper, an oversized white shirt, jeans and trainers

Next stop New York! The singer was headed to New York, where he appeared at the SiriusXM radio studio On Friday

The singer was headed to New York, where he appeared at the SiriusXM radio studio On Friday. 

Meanwhile Niall revealed he still holds a candle for his ex-girlfriend Ellie during an appearance on The Ellen DeGeneres Show on Wednesday.

The pair enjoyed a string of dates back in 2014 but decided they were better off as friends.

And Niall took part in a quick-fire game of Who'd You Rather with chat show host Ellen, and ended up picking the Burn singer as his dream date. 

Performing: The crooner sung his latest hit on radio in The Big Apple

Dapper: Wearing a flat cap, jeans and a bomber, he cut a suave figure

Parched: The singer stripped off to his T-shirt as the performance appeared to warm him up

Explaining the rules, Ellie told Niall: 'You're single. I'm going to try and find you the perfect girlfriend. We're going to play a speed round of Who'd You Rather?

'I'm going to show you two pictures and you're going to choose one [person] over the other.'

While he selected both Rihanna and Selena Gomez on three occasions each, beating the likes of Taylor Swift and Demi Lovato, it was Ellie he eventually settled on as his ideal woman. 

He selected the British beauty over Rita Ora, Jennifer Lopez and Kendall Jenner.

Ooer: Niall revealed her still holds a candle for his ex-girlfriend Ellie during an appearance on The Ellen DeGeneres Show on Wednesday

Revealing game: The star took part in a quick-fire game of Who'd You Rather with chat show host Ellen, and ended up picking the Burn singer as his dream date

The game also revealed Niall has a penchant for an older lady, choosing Diane Keaton, 70, and Demi Moore, 53.

Ellen declared: 'I think Ellie's the winner! You wana be with Ellie. It's official. If Ellie's watching, there's your guy!'

During the interview, which marked Niall's first solo visit to The Ellen DeGeneres Show without his One Direction bandmates, the pair chatted about how they both look alike and compared photos of themselves. 

Joking about how often he gets compared to Ellen, Niall laughed: 'Every day of my life. I don't mind it though, I like it!'

Top girl: He selected the British beauty over Rita Ora, Jennifer Lopez and Kendall Jenner

Cheeky chap: The game also revealed Niall has a penchant for an older lady, choosing Diane Keaton, 70, and Demi Moore, 53

He also talks about writing his debut solo single This Town, before treating the studio audience to a live performance.

Ellie and Niall are alleged to have hooked up in 2014, while she was supposedly seeing Ed Sheeran.

The 29-year-old is still plagued by the rumours she cheated with the Irishman on then-'boyfriend' Ed Sheeran, despite her insistence she never dated the Thinking Out Loud singer.

Sheeran's song Don't, which is about a lover who cheated with his friend, was rumoured to be about Goulding; her song On My Mind, which tells of a one-night stand with a tattooed admirer who got too attached, was rumoured to be her reply. 

In the hot seat: Anna Kendrick is also set to make an appearance on Ellen's chat show 

Animated: The talented actress was chatting about her new films, The Accountant and Trolls 

However, Sheeran has never confirmed who the song is about, while Goulding has persistently denied her part.

Ellie recently confessed she's still a great admirer of the former 1D singer.

'We're still friends. We went on a few dates, and it was really fun. He's a really, really lovely guy,', she told Seventeen magazine.

'He's got the biggest sense of humour, he's very caring, and I see him as a genuine friend in the industry.'

Full line-up: Martha Stewart and Snoop Dogg were also guests on the show 

The comments below have not been moderated.

The views expressed in the contents above are those of our users and do not necessarily reflect the views of MailOnline.

We are no longer accepting comments on this article.

Who is this week's top commenter? Find out now